[FFmpeg-cvslog] vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be =?UTF-8?Q?=20used=20uninitialized=20i?==?UTF-8?Q?n=20this=20function=20?=[ -Wuninitialized]
Michael Niedermayer
git at videolan.org
Thu Nov 24 00:16:32 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Nov 24 00:08:05 2011 +0100| [656911d84da9205c004c17c9fb14815f86a7db93] | committer: Michael Niedermayer
vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=656911d84da9205c004c17c9fb14815f86a7db93
---
libavfilter/vsrc_mandelbrot.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 1254fef..cc9cb6e 100644
--- a/libavfilter/vsrc_mandelbrot.c
+++ b/libavfilter/vsrc_mandelbrot.c
@@ -279,7 +279,7 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
}
for(x=0; x<mb->w; x++){
- float epsilon;
+ float av_uninit(epsilon);
const double cr=mb->start_x+scale*(x-mb->w/2);
double zr=cr;
double zi=ci;
More information about the ffmpeg-cvslog
mailing list