diff mbox series

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

Message ID GV1P250MB07377400EFCC4325641D770A8F362@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 641850f67f173985708049c0451dd04e5e14c98a
Headers show
Series [FFmpeg-devel,01/10] doc/examples: Always use <> includes | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt March 25, 2024, 1:53 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/wmaprodec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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)