avcodec/mpeg4video: Check time_incr
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 12 Jan 2016 02:03:01 +0000 (03:03 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 16:39:04 +0000 (17:39 +0100)
commit1c99807cb704cf923d9912688f22a413d7ce772b
treefb3ce436882ab1462296ad7b1b38b02d72a36399
parent4865d66b76f7bb85b837bcadb9f9d7b7337f137a
avcodec/mpeg4video: Check time_incr

Fixes assertion failure
Fixes out of memory access

Fixes: test_casex.ivf

Found-by: Tyson Smith <twsmith@mozilla.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7c97946d6131b31340954a3f603b6bf92590a9a5)

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4video.h
libavcodec/mpeg4videoenc.c
libavcodec/mpegvideo_enc.c