[FFmpeg-devel] [PATCH 11/22] avcodec/flacdec: Remove use of av_uninit

Zhao Zhili quinkblack at foxmail.com
Fri Apr 11 11:00:09 EEST 2025


From: Zhao Zhili <zhilizhao at tencent.com>

---
 libavcodec/flacdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c
index 0c88f577a1..1219f5b20a 100644
--- a/libavcodec/flacdec.c
+++ b/libavcodec/flacdec.c
@@ -303,7 +303,7 @@ static int decode_subframe_fixed(FLACContext *s, int32_t *decoded,
                                  int pred_order, int bps)
 {
     const int blocksize = s->blocksize;
-    unsigned av_uninit(a), av_uninit(b), av_uninit(c), av_uninit(d);
+    unsigned a = 0, b = 0, c = 0, d = 0;
     int i;
     int ret;
 
-- 
2.46.0



More information about the ffmpeg-devel mailing list