mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-29 22:00:58 +02:00
avcodec/scpr: fix checking ret value of decode_run_i
Fixes Coverity CID 1441460. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
f9271d0158
commit
1b4f74ffe2
@ -359,7 +359,7 @@ static int decompress_i(AVCodecContext *avctx, uint32_t *dst, int linesize)
|
||||
ret = decode_run_i(avctx, ptype, run, &x, &y, clr,
|
||||
dst, linesize, &lx, &ly,
|
||||
backstep, off, &cx, &cx1);
|
||||
if (run < 0)
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user