mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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 c9b44a79d1
)
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…
Reference in New Issue
Block a user