[FFmpeg-devel] [PATCH 14/22] avcodec/qtrleenc: Remove use of av_uninit
Zhao Zhili
quinkblack at foxmail.com
Fri Apr 11 11:00:13 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavcodec/qtrleenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qtrleenc.c b/libavcodec/qtrleenc.c
index ae341c60b6..91e30ce152 100644
--- a/libavcodec/qtrleenc.c
+++ b/libavcodec/qtrleenc.c
@@ -145,7 +145,7 @@ static void qtrle_encode_line(QtrleEncContext *s, const AVFrame *p, int line, ui
unsigned int skipcount;
/* This will be the number of consecutive equal pixels in the current
* frame, starting from the ith one also */
- unsigned int av_uninit(repeatcount);
+ unsigned int repeatcount = 0;
/* The cost of the three different possibilities */
int total_skip_cost;
--
2.46.0
More information about the ffmpeg-devel
mailing list