mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
vsrc_mandelbrot: avoid a | in interpol()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c88bdafe25
commit
4ebbcdb3eb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user