aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-16 02:06:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-16 02:32:37 +0200
commit230db1426d127a25c03b457fec25900653de2721 (patch)
treecddb3becf80197cb2ac8fb67a7bdfc9007776443 /libavcodec
parentf202af29c93f3e9b4103c3c254a8974d7c662315 (diff)
downloadffmpeg-230db1426d127a25c03b457fec25900653de2721.tar.gz
avcodec/fic: Fix return value check
Fixes part of Ticket3466 Found-by: Andrey_Karpov / PVS-Studio Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/fic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/fic.c b/libavcodec/fic.c
index 63faef2687..6b8ac83b56 100644
--- a/libavcodec/fic.c
+++ b/libavcodec/fic.c
@@ -246,8 +246,8 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data,
ctx->slice_data[slice].y_off = y_off;
}
- if (ret = avctx->execute(avctx, fic_decode_slice, ctx->slice_data,
- NULL, nslices, sizeof(ctx->slice_data[0])) < 0)
+ if ((ret = avctx->execute(avctx, fic_decode_slice, ctx->slice_data,
+ NULL, nslices, sizeof(ctx->slice_data[0]))) < 0)
return ret;
skip: