[FFmpeg-devel] [PATCH 05/10] avcodec/wmaprodec: Explicitly return 0 on success

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Mar 25 03:53:19 EET 2024


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/wmaprodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 2afdcb2b52..a6c4a75632 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavcodec/wmaprodec.c
@@ -2024,7 +2024,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)
-- 
2.40.1



More information about the ffmpeg-devel mailing list