diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-21 23:08:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-08 19:45:46 +0200 |
commit | d6f8960812b0a4ceac299a9000a1e921c74e431a (patch) | |
tree | 9918d2f2df1bd2f9bdf23572b07cb93f39c4c2b1 /libavcodec/cavs.h | |
parent | 99b4524bfb45f5c6e0672229f2da1a2b93622f15 (diff) | |
download | ffmpeg-d6f8960812b0a4ceac299a9000a1e921c74e431a.tar.gz |
avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header()
Fixes truncation
Fixes Assertion n <= 31 && value < (1U << n) failed at libavcodec/put_bits.h:169
Fixes: ffmpeg_crash_2.avi
Found-by: Thuan Pham <thuanpv@comp.nus.edu.sg>, Marcel Böhme, Andrew Santosa and Alexandru RazvanCaciulescu with AFLSmart
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit e1182fac1afba92a4975917823a5f644bee7e6e8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cavs.h')
0 files changed, 0 insertions, 0 deletions