[FFmpeg-cvslog] avcodec/wmaprodec: Explicitly return 0 on success

Andreas Rheinhardt git at videolan.org
Thu Mar 28 05:01:42 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar 25 02:23:06 2024 +0100| [641850f67f173985708049c0451dd04e5e14c98a] | committer: Andreas Rheinhardt

avcodec/wmaprodec: Explicitly return 0 on success

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=641850f67f173985708049c0451dd04e5e14c98a
---

 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)



More information about the ffmpeg-cvslog mailing list