aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/gxfenc.c
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2012-11-23 14:05:36 +0100
committerReinhard Tartler <siretart@tauware.de>2013-01-12 17:59:39 +0100
commitd282e5ce7286eab3bc4f5cbfe81a74551bd31006 (patch)
tree22c7f6dbf1ebc7511f0d7220abe90bf0c0a56059 /libavformat/gxfenc.c
parenta4a63bf5b55f9b42b752301ae417ee3f50f5a594 (diff)
downloadffmpeg-d282e5ce7286eab3bc4f5cbfe81a74551bd31006.tar.gz
lavf: avoid integer overflow in ff_compute_frame_duration()
Scaling the denominator instead of the numerator if it is too large loses precision. Fixes an assert caused by a negative frame duration in the fuzzed sample nasa-8s2.ts_s202310. CC: libav-stable@libav.org (cherry picked from commit 7709ce029a7bc101b9ac1ceee607cda10dcb89dc) Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavformat/gxfenc.c')
0 files changed, 0 insertions, 0 deletions