[FFmpeg-devel] [PATCH] avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header()

Michael Niedermayer michael at niedermayer.cc
Sun May 27 23:01:17 EEST 2018


On Mon, May 21, 2018 at 11:30:51PM +0200, Michael Niedermayer wrote:
> 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 at comp.nus.edu.sg>, Marcel Böhme, Andrew Santosa and Alexandru RazvanCaciulescu with AFLSmart
> 
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/mpeg4videoenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180527/3dfc5ad3/attachment.sig>


More information about the ffmpeg-devel mailing list