1
0
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:
Andreas Rheinhardt 2021-10-03 14:53:31 +02:00
parent b229dce2e4
commit 0229916f15

View File

@ -722,6 +722,7 @@ static int decode_frame(AVCodecContext *avctx,
break;
default:
bytestream2_skip(gb, size);
ret = 0;
}
if (ret < 0)