aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-24 00:08:05 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-24 00:08:05 +0100
commit656911d84da9205c004c17c9fb14815f86a7db93 (patch)
tree4528352394dcad1fe94b3fb0833fdf47c82e3cb2
parentb329fc346e046a2fb8bcc0acd66bf5726e8e284d (diff)
downloadffmpeg-656911d84da9205c004c17c9fb14815f86a7db93.tar.gz
vsrc_mandelbrot: Fix vsrc_mandelbrot.c:358:85: warning: ‘epsilon’ may be used uninitialized in this function [-Wuninitialized]
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/vsrc_mandelbrot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c
index 1254fef0ad..cc9cb6e9bf 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;