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>
Sat, 30 Jan 2016 23:25:20 +0000 (00:25 +0100)
commit78f9c7dd14bec61fd0c33ddd4e2f6775c2045cad
treee39d1bbb4cd7dbcd26b1b8c8011d8b5879f5c362
parent250e5cb71df4ea8189ce1441a2274f9886adfbfc
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