[FFmpeg-devel] [PATCH 03/22] avfilter/vsrc_mandelbrot: Remove use of av_uninit
Zhao Zhili
quinkblack at foxmail.com
Fri Apr 11 10:58:26 EEST 2025
From: Zhao Zhili <zhilizhao at tencent.com>
---
libavfilter/vsrc_mandelbrot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 3f14f1e7f9..84eeadb703 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -256,7 +256,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
}
for(x=0; x<s->w; x++){
- float av_uninit(epsilon);
+ float epsilon = 0.0f;
const double cr=s->start_x+scale*(x-s->w/2);
double zr=cr;
double zi=ci;
--
2.46.0
More information about the ffmpeg-devel
mailing list