You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/fic: Fix return value check
Fixes part of Ticket3466 Found-by: Andrey_Karpov / PVS-Studio Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
committed by
Derek Buitenhuis
parent
144f7a561d
commit
6f243b17c5
@@ -291,8 +291,8 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
ctx->slice_data[slice].y_off = y_off;
|
ctx->slice_data[slice].y_off = y_off;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret = avctx->execute(avctx, fic_decode_slice, ctx->slice_data,
|
if ((ret = avctx->execute(avctx, fic_decode_slice, ctx->slice_data,
|
||||||
NULL, nslices, sizeof(ctx->slice_data[0])) < 0)
|
NULL, nslices, sizeof(ctx->slice_data[0]))) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
skip:
|
skip:
|
||||||
|
Reference in New Issue
Block a user