[FFmpeg-cvslog] avcodec/rasc: Fix potential use of uninitialized value
Andreas Rheinhardt
git at videolan.org
Thu Oct 7 12:38:18 EEST 2021
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Oct 3 14:53:31 2021 +0200| [c9b44a79d1bc87251f36926b288f79adefec397f] | committer: Andreas Rheinhardt
avcodec/rasc: Fix potential use of uninitialized value
Fixes Coverity issue #1439566.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c9b44a79d1bc87251f36926b288f79adefec397f
---
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)
More information about the ffmpeg-cvslog
mailing list