From 641850f67f173985708049c0451dd04e5e14c98a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 25 Mar 2024 02:23:06 +0100 Subject: [PATCH] avcodec/wmaprodec: Explicitly return 0 on success Signed-off-by: Andreas Rheinhardt --- libavcodec/wmaprodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 65b269adda..e3dee9039c 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -2023,7 +2023,7 @@ static av_cold int xma_decode_init(AVCodecContext *avctx) return AVERROR(ENOMEM); } - return ret; + return 0; } static av_cold int xma_decode_end(AVCodecContext *avctx)