mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
avcodec/rasc: Fix potential use of uninitialized value
Fixes Coverity issue #1439566. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit c9b44a79d1bc87251f36926b288f79adefec397f)
This commit is contained in:
parent
b229dce2e4
commit
0229916f15
@ -722,6 +722,7 @@ static int decode_frame(AVCodecContext *avctx,
|
||||
break;
|
||||
default:
|
||||
bytestream2_skip(gb, size);
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
if (ret < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user