diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-03 03:02:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-04 20:25:15 +0100 |
commit | 66e8f87ebc7897d0b7a92ff748c53481e990a670 (patch) | |
tree | da87457b32bea0f90aed6495f2cdbad047e2939e /libavcodec/pnmenc.c | |
parent | 6bee6ef0c2ec264b5362d59d8541849653d2456d (diff) | |
download | ffmpeg-66e8f87ebc7897d0b7a92ff748c53481e990a670.tar.gz |
avformat/utils: Check start/end before computing duration in update_stream_timings()
Fixes undefined behavior
Fixes: 637428.ogg
Found-by: Matt Wolenetz <wolenetz@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 90da187f1d334422477886a19eca3c1da29c59a7)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/pnmenc.c')
0 files changed, 0 insertions, 0 deletions