diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-03 03:14:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-12-06 02:08:26 +0100 |
commit | c8ca4b32754265f5a06dc59d77f88eed07ff141d (patch) | |
tree | f17bf1689d491666da820d1bbbde88ae50a22995 /libavcodec/mips/fmtconvert_mips.c | |
parent | 238c7c8276e5a3819f92f91f87abcf619007e788 (diff) | |
download | ffmpeg-c8ca4b32754265f5a06dc59d77f88eed07ff141d.tar.gz |
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 b46dcd5209a77254345ae098b83a872634c5591b)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/mips/fmtconvert_mips.c')
0 files changed, 0 insertions, 0 deletions