You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/scpr3: fix checking ret value of decode_run_i
Fixes Coverity CID 1441461. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -1007,7 +1007,7 @@ static int decompress_i3(AVCodecContext *avctx, uint32_t *dst, int linesize)
|
|||||||
ret = decode_run_i(avctx, ptype, run, &x, &y, clr,
|
ret = decode_run_i(avctx, ptype, run, &x, &y, clr,
|
||||||
dst, linesize, &lx, &ly,
|
dst, linesize, &lx, &ly,
|
||||||
backstep, off, &cx, &cx1);
|
backstep, off, &cx, &cx1);
|
||||||
if (run < 0)
|
if (ret < 0)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user