svq3: Check for any negative return value from ff_h264_check_intra_pred_mode
authorMartin Storsjö <martin@martin.st>
Mon, 16 Sep 2013 12:05:03 +0000 (15:05 +0300)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 7 Jan 2014 08:43:56 +0000 (09:43 +0100)
commit802deb2d136fd2e2b6f445476703c05a0b633aa2
treeb169b9abdc4db9a1e05e25bdb9a980f823d33b4f
parent290783b84866b1d16588f04c9c06ece37e523a69
svq3: Check for any negative return value from ff_h264_check_intra_pred_mode

Also pass on any returned error code.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 1115689d54ea95a084421f5a182b8dc56cbff978)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Conflicts:
libavcodec/svq3.c
libavcodec/svq3.c