[FFmpeg-devel] [PATCH] avcodec/rasc: Fix potential use of uninitialized value
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Mon Oct 4 17:53:52 EEST 2021
Fixes Coverity issue #1439566.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavcodec/rasc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/rasc.c b/libavcodec/rasc.c
index 7fedf73878..b328e219bb 100644
--- a/libavcodec/rasc.c
+++ b/libavcodec/rasc.c
@@ -721,6 +721,7 @@ static int decode_frame(AVCodecContext *avctx,
break;
default:
bytestream2_skip(gb, size);
+ ret = 0;
}
if (ret < 0)
--
2.30.2
More information about the ffmpeg-devel
mailing list