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>
Tue, 12 Jan 2016 02:35:29 +0000 (03:35 +0100)
commit7c97946d6131b31340954a3f603b6bf92590a9a5
treec18e9e494c01b27ae2d43427d394372b6dd61d1c
parentd50b5d547f4070678c88aa095b5292c872e2c1dc
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>
libavcodec/mpeg4video.h
libavcodec/mpeg4videoenc.c
libavcodec/mpegvideo_enc.c