diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-11-23 14:05:36 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-11-26 10:26:08 +0100 |
commit | 7709ce029a7bc101b9ac1ceee607cda10dcb89dc (patch) | |
tree | daab4df12a540724cddf6536b8259230bf228c85 /libavcodec/iff.c | |
parent | 5ae72f54532960cb9eae82a1c9e8d505106c022b (diff) | |
download | ffmpeg-7709ce029a7bc101b9ac1ceee607cda10dcb89dc.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
Diffstat (limited to 'libavcodec/iff.c')
0 files changed, 0 insertions, 0 deletions