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)
committerMartin Storsjö <martin@martin.st>
Tue, 17 Sep 2013 08:21:16 +0000 (11:21 +0300)
commit1115689d54ea95a084421f5a182b8dc56cbff978
tree8e04bba0ec816d2660b5ffa45b974e42414bfbc3
parentf8d1bb6723a677d7221c674a4e47e3d4cecfca17
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>
libavcodec/svq3.c