diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2018-05-21 23:08:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2018-06-18 01:16:04 +0200 |
commit | bd1fd3ff4b0437153a6c4717f59ce31a7bba8ca0 (patch) | |
tree | 7958cca2b17e8bb99c0604e5cf64947ff97c55f1 /libavutil/ppc/float_dsp_init.c | |
parent | 4cbd92baa3f4e571e1bce0e27c2df8c178158967 (diff) | |
download | ffmpeg-bd1fd3ff4b0437153a6c4717f59ce31a7bba8ca0.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 'libavutil/ppc/float_dsp_init.c')
0 files changed, 0 insertions, 0 deletions