mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avcodec/rasc: Fix potential use of uninitialized value
Fixes Coverity issue #1439566. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4c7fec5006
commit
c9b44a79d1
@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
bytestream2_skip(gb, size);
|
bytestream2_skip(gb, size);
|
||||||
|
ret = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user