diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-19 22:07:10 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-19 22:11:53 +0100 |
commit | 4ebbcdb3eb157100fd98b74896fb33c0fb3d2a7c (patch) | |
tree | 4bf14337ff519553dabd6814b1bc8b6ce2c24c8f /libavfilter/vsrc_mandelbrot.c | |
parent | c88bdafe258bb570962aff58bdca1576c5a7f29e (diff) | |
download | ffmpeg-4ebbcdb3eb157100fd98b74896fb33c0fb3d2a7c.tar.gz |
vsrc_mandelbrot: avoid a | in interpol()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vsrc_mandelbrot.c')
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index f82d641f13..10e010faa6 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -209,7 +209,7 @@ static void fill_from_cache(AVFilterContext *ctx, uint32_t *color, int *in_cidx, static int interpol(MBContext *mb, uint32_t *color, int x, int y, int linesize) { uint32_t a,b,c,d, i; - uint32_t ipol=0; + uint32_t ipol=0xFF000000; int dist; if(!x || !y || x+1==mb->w || y+1==mb->h) @@ -254,7 +254,7 @@ static int interpol(MBContext *mb, uint32_t *color, int x, int y, int linesize) return 0; ipol |= ((ipolab + ipolcd + 2)/4)<<s; } - color[x + y*linesize]= ipol | 0xFF000000; + color[x + y*linesize]= ipol; return 1; } |