4xm: do not overread the source buffer in decode_p_block
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 9 Jun 2013 16:27:05 +0000 (18:27 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Wed, 12 Jun 2013 12:45:46 +0000 (14:45 +0200)
commit94aefb1932be882fd93f66cf790ceb19ff575c19
treef76df07e361a532a71d699d3e6c70da783ace91c
parentbe373cb50d3c411366fec7eef2eb3681abe48f96
4xm: do not overread the source buffer in decode_p_block

Check for out of picture macroblocks before calling mcdc.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/4xm.c