ffmpeg/libavutil
Stefano Sabatini f02cbc4590 Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st).
The file might be replaced between open() and stat().
Spotted by Mans.

Originally committed as revision 26075 to svn://svn.ffmpeg.org/ffmpeg/trunk
2010-12-22 16:16:31 +00:00
..
arm ARM: change return type of AV_RN16() to unsigned 2010-09-26 21:01:20 +00:00
avr32 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
bfin Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
mips Mark all intreadwrite functions av_always_inline 2010-01-18 01:35:19 +00:00
ppc Clean up av_get_cpu_flag() 2010-09-09 18:51:45 +00:00
sh4 Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
tomi TOMI: 16- and 32-bit intreadwrite functions 2010-02-19 03:20:01 +00:00
x86 Add missing #include <string.h> in x86/cpu.c 2010-09-09 19:40:59 +00:00
adler32.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
adler32.h adler32: add API documentation 2010-06-30 20:09:40 +00:00
aes.c aes: fix array index out of bounds warning 2010-07-04 20:38:46 +00:00
aes.h aes: improve av_aes_crypt() documentation 2010-06-30 20:09:44 +00:00
attributes.h Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size. 2010-11-10 12:45:41 +00:00
avassert.h avassert: add missing #include <stdlib.h> 2010-10-01 13:55:20 +00:00
avstring.c Move av_get_token() from libavfilter to libavutil. 2010-09-27 16:23:43 +00:00
avstring.h Move av_get_token() from libavfilter to libavutil. 2010-09-27 16:23:43 +00:00
avutil.h Add av_file_map() and av_file_unmap() functions. 2010-12-22 14:13:04 +00:00
base64.c Use AV_BASE64_SIZE() macro 2010-06-04 01:15:41 +00:00
base64.h base64: improve documentation 2010-06-30 20:09:32 +00:00
bswap.h Make bswap.h safe to install as public API 2010-07-10 22:21:55 +00:00
colorspace.h Move colorspace.h from libavcodec to libavutil. 2010-07-01 18:49:44 +00:00
common.h Add av_popcount() to libavutil/common.h and bump minor version 2010-09-14 14:45:43 +00:00
cpu.c fix building of cpu-test by including required header 2010-12-07 15:25:44 +00:00
cpu.h Clean up av_get_cpu_flag() 2010-09-09 18:51:45 +00:00
crc_data.h
crc.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
crc.h Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
des.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
des.h
error.c Add AVERROR_*_NOT_FOUND codes. 2010-12-19 09:01:02 +00:00
error.h Add AVERROR_*_NOT_FOUND codes. 2010-12-19 09:01:02 +00:00
eval.c Use hierarchic names convention (prefix them with av_expr) for the 2010-11-08 14:06:49 +00:00
eval.h Use hierarchic names convention (prefix them with av_expr) for the 2010-11-08 14:06:49 +00:00
fifo.c Clarify non constness of src in av_fifo_generic_write() 2010-02-23 12:14:13 +00:00
fifo.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
file.c Fix av_file_map(): replace stat(filename, &st) with fstat(fd, &st). 2010-12-22 16:16:31 +00:00
file.h Add av_file_map() and av_file_unmap() functions. 2010-12-22 14:13:04 +00:00
integer.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
integer.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
internal.h Intel C compiler 12.0 does not suport these attributes: may_alias, force_align_arg_pointer and alloc_size. 2010-11-10 12:45:41 +00:00
intfloat_readwrite.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
intfloat_readwrite.h Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
intmath.h Remove macro duplication between common.h and intmath.h 2010-07-07 17:27:43 +00:00
intreadwrite.h Make intreadwrite.h installation-safe 2010-07-10 22:22:03 +00:00
inverse.c Make ff_inverse stay with libavutil, and optional copy it to libavcodec. 2010-07-21 12:37:37 +00:00
lfg.c lfg: add missing includes 2010-07-10 00:40:55 +00:00
lfg.h Restore array sizes in doxygen parameter names. 2010-07-08 13:35:46 +00:00
libavutil.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
libm.h Workaround for missing llrintf() 2010-04-23 16:28:10 +00:00
lls.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
lls.h
log.c Introduce FFMPEG_FORCE_NOCOLOR, with the same meaning and use of 2010-12-06 21:47:10 +00:00
log.h 2nd try to fix av_log() repeated detection 2010-09-24 15:37:01 +00:00
lzo.c
lzo.h
Makefile Add av_file_map() and av_file_unmap() functions. 2010-12-22 14:13:04 +00:00
mathematics.c Silence "comparison of unsigned expression >= 0 is always true" warning. 2010-07-03 17:06:12 +00:00
mathematics.h Add the M_PHI constant, contains an approximation of the golden ratio 2010-07-22 22:05:21 +00:00
md5.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
md5.h
mem.c Change the argument of memory allocation functions from unsigned int to size_t 2010-12-04 04:00:12 +00:00
mem.h Add av_file_map() and av_file_unmap() functions. 2010-12-22 14:13:04 +00:00
opt.c Use hierarchic names convention (prefix them with av_expr) for the 2010-11-08 14:06:49 +00:00
opt.h Move av_set_options_string() from libavfilter to libavutil. 2010-09-27 22:09:53 +00:00
pca.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pca.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
pixdesc.c Deprecate avcodec_pix_fmt_string() in favor of 2010-12-04 12:56:21 +00:00
pixdesc.h Deprecate avcodec_pix_fmt_string() in favor of 2010-12-04 12:56:21 +00:00
pixfmt.h Deprecate PIX_FMT_YUVJ* 2010-06-03 21:08:56 +00:00
random_seed.c Fix infinite loop with clock() returning (clock_t)-1. 2010-07-08 18:13:31 +00:00
random_seed.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
rational.c Add selftest code for av_cmp_q(). 2010-10-05 01:43:34 +00:00
rational.h Update av_cmp_q() documentation after r25338. 2010-10-05 08:44:18 +00:00
rc4.c
rc4.h
sha1.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
sha.c Add av_ prefix to bswap macros 2010-07-10 22:12:30 +00:00
sha.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
softfloat.c
softfloat.h
timer.h Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
tree.c Replace many includes of libavutil/common.h with what is actually needed 2010-03-09 17:39:19 +00:00
tree.h Fix grammar errors in documentation 2010-06-30 15:38:06 +00:00
utils.c Remove explicit filename from Doxygen @file commands. 2010-04-20 14:45:34 +00:00
x86_cpu.h Check whether compiler supports xmm registers in asm clobber list 2010-10-06 01:26:13 +00:00