diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-21 23:08:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-07-16 19:06:27 +0200 |
commit | d1bac7f77772a68e164385d7018f2c2562e0d219 (patch) | |
tree | ff311143dd71a9d81be64b9dbdf19ec884cbe4ac /libavformat/nut.c | |
parent | fdab123c031250742ea84c188999a855baa4bf30 (diff) | |
download | ffmpeg-d1bac7f77772a68e164385d7018f2c2562e0d219.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 'libavformat/nut.c')
0 files changed, 0 insertions, 0 deletions