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:23:55 +0000 (17:23 +0100)
commit9b8d1a183d467470b7fe873eea36e407c42f3105
tree830b1d25316e9b93d54de5533f8ee889e20d845e
parent6d483543217fd0956977a2e5989a51966e7c14cf
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