aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/lxfdec.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 19:27:42 +0100
commit10ff052c601368f129466e6de19e9862aaaec7d1 (patch)
tree36b7d2084a038ec7be398f6e46dc684b02f0754f /libavformat/lxfdec.c
parentb143844ea0f6246e0d5a938d743e2e8a98453bec (diff)
downloadffmpeg-10ff052c601368f129466e6de19e9862aaaec7d1.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/lxfdec.c')
0 files changed, 0 insertions, 0 deletions