From c9b44a79d1bc87251f36926b288f79adefec397f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 3 Oct 2021 14:53:31 +0200 Subject: [PATCH] avcodec/rasc: Fix potential use of uninitialized value Fixes Coverity issue #1439566. Signed-off-by: Andreas Rheinhardt --- 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)