[FFmpeg-cvslog] svq3: Fix ff_h264_check_intra_pred_mode() return code check
Michael Niedermayer
git at videolan.org
Sun Aug 11 10:27:48 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 11 10:21:44 2013 +0200| [019eb2c77b7c315580200a5dbe6dabb1c97a3764] | committer: Michael Niedermayer
svq3: Fix ff_h264_check_intra_pred_mode() return code check
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=019eb2c77b7c315580200a5dbe6dabb1c97a3764
---
libavcodec/svq3.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c
index 07f9771..9d218b8 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -649,8 +649,8 @@ static int svq3_decode_mb(SVQ3Context *s, unsigned int mb_type)
dir = i_mb_type_info[mb_type - 8].pred_mode;
dir = (dir >> 1) ^ 3 * (dir & 1) ^ 1;
- if ((h->intra16x16_pred_mode = ff_h264_check_intra_pred_mode(h, dir, 0)) == -1) {
- av_log(h->avctx, AV_LOG_ERROR, "check_intra_pred_mode = -1\n");
+ if ((h->intra16x16_pred_mode = ff_h264_check_intra_pred_mode(h, dir, 0)) < 0) {
+ av_log(h->avctx, AV_LOG_ERROR, "check_intra_pred_mode < 0\n");
return -1;
}
More information about the ffmpeg-cvslog
mailing list