diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 12:21:44 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-11 12:22:51 +0400 |
commit | 019eb2c77b7c315580200a5dbe6dabb1c97a3764 (patch) | |
tree | 3a1abc2f5e7619835f6777914617ed8e9dce09d5 /libavcodec/svq3.c | |
parent | e0b45ca730f2b805d1d111067e1a99bff4516549 (diff) |
svq3: Fix ff_h264_check_intra_pred_mode() return code check
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/svq3.c')
-rw-r--r-- | libavcodec/svq3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index 07f9771ad4..9d218b8d49 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; } |