git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f202af2
)
avcodec/fic: Fix return value check
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Apr 2014 00:06:37 +0000
(
02:06
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Apr 2014 00:32:37 +0000
(
02:32
+0200)
Fixes part of Ticket3466
Found-by: Andrey_Karpov / PVS-Studio
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/fic.c
patch
|
blob
|
history
diff --git
a/libavcodec/fic.c
b/libavcodec/fic.c
index
63faef2
..
6b8ac83
100644
(file)
--- 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: