[FFmpeg-devel] [PATCH 16/22] avcodec/vp8: Remove use of av_uninit
Zhao Zhili
quinkblack at foxmail.com
Fri Apr 11 11:00:15 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavcodec/vp8.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index c42170519f..ea8457c0b1 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -2625,7 +2625,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame,
VP8Context *s = avctx->priv_data;
int ret, i, referenced, num_jobs;
enum AVDiscard skip_thresh;
- VP8Frame *av_uninit(curframe), *prev_frame;
+ VP8Frame *curframe = NULL, *prev_frame;
if (is_vp7)
ret = vp7_decode_frame_header(s, avpkt->data, avpkt->size);
--
2.46.0
More information about the ffmpeg-devel
mailing list