ffmpeg/libavutil
Michael Niedermayer c8ca4b3275 avutil/timecode: Fix fps check
The fps variable is explicitly set to -1 in case of some errors, the check must
thus be signed or the code setting it needs to use 0 as error code
the type of the field could be changed as well but its in an installed header

Fixes: integer overflow
Fixes: 9982cc157b1ea90429435640a989122f/asan_generic_3ad004a_3799_22cf198d9cd09928e2d9ad250474fa58.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b46dcd5209)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2015-12-06 02:08:26 +01:00
..
aarch64
arm arm: only enable setend on ARMv6 2015-07-28 02:33:56 +02:00
avr32
bfin
mips
ppc avutil/ppc/util_altivec: add () to VEC_SPLAT16 macro 2014-11-29 13:40:33 +01:00
sh4
tomi
x86 v210enc: Add SIMD optimised 8-bit and 10-bit encoders 2014-11-26 20:30:47 +01:00
Makefile lavu/dict: add av_dict_get_string 2014-11-21 01:25:54 +01:00
adler32.c
adler32.h
aes.c
aes.h
atomic.c
atomic.h
atomic_gcc.h lavu/atomic: add support for the new memory model aware gcc built-ins 2014-10-29 14:09:58 -03:00
atomic_suncc.h
atomic_win32.h msvc: Fix compilation errors due to header include order. 2014-11-27 12:40:18 +01:00
attributes.h
audio_fifo.c
audio_fifo.h
audioconvert.h
avassert.h
avstring.c avutil/avstring: Use size_t in av_strlcatf() 2015-05-21 20:43:38 +02:00
avstring.h Merge commit '4981baf9b803f3c4866b2e97fdadb008c62dc7ad' 2014-11-07 22:33:09 +01:00
avutil.h
avutilres.rc
base64.c
base64.h
blowfish.c
blowfish.h
bprint.c
bprint.h avutil/bprint: C++ compatible AVBPrint definition. 2014-11-29 03:51:35 +01:00
bswap.h
buffer.c avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it 2014-11-29 12:26:22 +01:00
buffer.h
buffer_internal.h Merge commit 'fbd6c97f9ca858140df16dd07200ea0d4bdc1a83' 2014-11-27 23:42:16 +01:00
cast5.c avutil/cast5: Fix off by one error 2014-10-20 05:41:26 +02:00
cast5.h libavutil: Add CAST128 symmetric block cipher 2014-10-18 01:33:45 +02:00
channel_layout.c libavutil/channel_layout: Check strtol*() for failure 2015-11-26 16:58:33 +01:00
channel_layout.h
colorspace.h
common.h avutil/common: Add FFNABS() 2015-11-26 16:58:32 +01:00
cpu.c avutil/cpu: add missing check for mmxext to av_force_cpu_flags 2015-03-28 22:10:50 -03:00
cpu.h
cpu_internal.h
crc.c
crc.h
des.c
des.h
dict.c avutil/dict: Use size_t for appending strings 2015-05-21 20:43:38 +02:00
dict.h avutil: remove FF_CONST_AVUTIL53, its no longer needed 2014-11-24 02:22:19 +01:00
display.c
display.h
downmix_info.c
downmix_info.h
dynarray.h
error.c avutil/error: Introduce new error codes for 4XX and 5XX replies from remote servers 2014-10-19 22:32:14 +02:00
error.h avutil/error: Introduce new error codes for 4XX and 5XX replies from remote servers 2014-10-19 22:32:14 +02:00
eval.c
eval.h
fifo.c avutil/fifo: Fix the case where func() returns less bytes than requested in av_fifo_generic_write() 2015-07-28 02:42:16 +02:00
fifo.h avutil: remove FF_CONST_AVUTIL53, its no longer needed 2014-11-24 02:22:19 +01:00
file.c
file.h avutil/file: fix av_tempfile() documentation 2014-11-24 04:59:02 +01:00
file_open.c avutil/file_open: avoid file handle inheritance on Windows 2015-11-26 16:58:32 +01:00
fixed_dsp.c
fixed_dsp.h
float_dsp.c avutil/float_dsp: add avpriv_float_dsp_alloc() 2014-11-18 11:43:01 +01:00
float_dsp.h avutil/float_dsp: add avpriv_float_dsp_alloc() 2014-11-18 11:43:01 +01:00
frame.c lavu/frame: fix malloc error path in av_frame_copy_props() 2014-12-15 05:32:36 +01:00
frame.h avcodec, avutil: allow more control about how samples are skipped 2014-10-02 20:21:00 +02:00
hash.c
hash.h
hmac.c
hmac.h
imgutils.c avutil/imgutils: correctly check for negative SAR components 2015-03-21 01:52:51 +01:00
imgutils.h
integer.c avutil/integer: Fix av_mod_i() with negative dividend 2015-12-06 02:08:25 +01:00
integer.h
internal.h Merge commit '277ff7f5dc134f1c2dfc4ea0ef3540340482e3d2' 2014-11-24 12:45:07 +01:00
intfloat.h
intmath.c
intmath.h avutil/intmath: enable builtin intrinsics for icl and msvc. 2014-10-26 17:20:55 +01:00
intreadwrite.h
lfg.c
lfg.h
libavutil.v
libm.h Remove fminf() emulation. 2014-11-08 11:31:11 +01:00
lls.c avutil/lls: Make unchanged function arguments const 2014-09-28 19:32:07 +02:00
lls.h avutil/lls: Make unchanged function arguments const 2014-09-28 19:32:07 +02:00
log.c log: Unbreak no-tty support on 256color terminals 2014-09-26 20:56:16 +02:00
log.h
log2_tab.c
lzo.c avutil/lzo: fix resource leak 2014-10-11 12:15:26 +02:00
lzo.h
macros.h
mathematics.c avutil/mathematics: return INT64_MIN (=AV_NOPTS_VALUE) from av_rescale_rnd() for overflows 2015-12-06 02:08:26 +01:00
mathematics.h
md5.c avutil/md5: workaround clang 3.5 #20849 2014-09-05 00:43:48 +02:00
md5.h
mem.c libavutil/mem: use size_t for the length in av_strdup() 2015-05-21 20:43:37 +02:00
mem.h
motion_vector.h
murmur3.c
murmur3.h
old_pix_fmts.h
opencl.c Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit" 2015-03-09 14:32:13 -03:00
opencl.h avutil/opencl: don't include config.h 2015-02-12 15:43:47 -03:00
opencl_internal.c
opencl_internal.h
opt.c avutil/opt: Fix type used to access AV_OPT_TYPE_SAMPLE_FMT 2015-02-12 17:10:36 +01:00
opt.h lavu/opt: add escaping to av_opt_serialize 2014-11-29 00:58:42 +01:00
parseutils.c Merge commit '82ee7d0dda0fec8cdb670f4e844bf5c2927ad9de' 2014-10-26 02:38:26 +01:00
parseutils.h
pca.c avutil/pca: Check for av_malloc* failures 2015-04-17 15:20:29 +02:00
pca.h avutil/pca: Make argument of ff_pca_add() const 2014-09-28 16:17:18 +02:00
pixdesc.c Merge commit '5a419b2dd1881889d436f55741fd3ff3f9f436c4' 2014-10-08 22:53:48 +02:00
pixdesc.h Merge commit '5a419b2dd1881889d436f55741fd3ff3f9f436c4' 2014-10-08 22:53:48 +02:00
pixelutils.c
pixelutils.h
pixfmt.h Merge commit '04ccd584a70fad4ebb29ca340d704970ff313cbc' 2014-10-08 22:37:59 +02:00
qsort.h
random_seed.c
random_seed.h
rational.c
rational.h
rc4.c
rc4.h
replaygain.h
ripemd.c
ripemd.h
samplefmt.c avutil: remove obsolete FF_API_SAMPLES_UTILS_RETURN_ZERO cruft 2014-10-05 17:09:56 -03:00
samplefmt.h avutil: remove obsolete FF_API_GET_BITS_PER_SAMPLE_FMT cruft 2014-10-05 17:09:49 -03:00
sha.c
sha.h
sha512.c
sha512.h
softfloat.c
softfloat.h libavutil/softfloat: Fix av_normalize1_sf bias. 2015-07-28 02:33:56 +02:00
stereo3d.c
stereo3d.h
thread.h avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync with it 2014-11-29 12:26:22 +01:00
threadmessage.c
threadmessage.h
time.c Merge commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5' 2014-10-24 11:06:56 +02:00
time.h Merge commit '1bd0bdcdc236099d5c0d179696951f35f5310fa5' 2014-10-24 11:06:56 +02:00
time_internal.h avutil/time_internal: do not attempt to override *time_r() macros 2014-11-05 18:44:15 +01:00
timecode.c avutil/timecode: Fix fps check 2015-12-06 02:08:26 +01:00
timecode.h
timer.h
timestamp.h
tree.c
tree.h
utf8.c
utils.c Add FFMPEG_VERSION into the binary libs 2014-12-22 03:17:56 +01:00
version.h lavu/opt: add consts where possible 2014-11-27 23:27:14 +01:00
wchar_filename.h Merge commit '9326d64ed1baadd7af60df6bbcc59cf1fefede48' 2014-11-27 11:10:26 +01:00
x86_cpu.h
xga_font_data.c
xga_font_data.h
xtea.c
xtea.h