summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-04 16:32:07 +0100
committerAnton Khirnov <anton@khirnov.net>2016-03-05 08:43:04 +0100
commitff3db937ef3aa30046a3936146f86ad48ee2ff90 (patch)
treead9f09db64eaaa07277df6badbbd912f98022cd8 /libavutil
parent1ceb07eb313c2d51383408025e57a2fe50ccd164 (diff)
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 'libavutil')
0 files changed, 0 insertions, 0 deletions