avcodec/mpeg4videodec: Check P cbpy
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 10 Jul 2015 22:05:40 +0000 (00:05 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 10 Jul 2015 22:22:29 +0000 (00:22 +0200)
commitc06e556274446a45efab34745c05049033389260
tree6506853f5e069cc7ba6cb8b5cd4a5bc70e652aeb
parent75fd5ce4c1c0b2d96d71c74b650cefaaef519d27
avcodec/mpeg4videodec: Check P cbpy

Fixes undefined behavior
Fixes: signal_sigsegv_c3097a_991_xtrem_e2_m64q15_a32sxx.3gp

Found-by: Samuel GroƟ, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpeg4videodec.c