1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mandelbrot: make 2 variables const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-11-11 23:39:26 +01:00
parent 0e5b05134b
commit aa198ad679

View File

@ -121,8 +121,8 @@ static void draw_mandelbrot(AVFilterContext *ctx, uint32_t *color, int linesize,
for(y=0; y<mb->h; y++){
for(x=0; x<mb->w; x++){
double cr=mb->start_x+mb->start_scale*x;
double ci=mb->start_y+mb->start_scale*y;
const double cr=mb->start_x+mb->start_scale*x;
const double ci=mb->start_y+mb->start_scale*y;
double zr=cr;
double zi=ci;
uint32_t c=0;