diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-04 16:32:07 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-03-05 08:43:04 +0100 |
commit | ff3db937ef3aa30046a3936146f86ad48ee2ff90 (patch) | |
tree | ad9f09db64eaaa07277df6badbbd912f98022cd8 /tests | |
parent | 1ceb07eb313c2d51383408025e57a2fe50ccd164 (diff) | |
download | ffmpeg-ff3db937ef3aa30046a3936146f86ad48ee2ff90.tar.gz |
asfenc: fix some possible integer overflows
Store the file duration in the same timebase it arrives (i.e.
milliseconds) and only convert it to the file duration units (100ns)
when it's actually written, thus simplifying some calculations. Also,
store the duration as unsigned, since it cannot be negative.
CC: libav-stable@libav.org
Bug-ID: CVE-2016-2326
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions