Commit 74498eb4 authored by Baptiste Coudurier's avatar Baptiste Coudurier

cast to correct type, suppress warnings

Originally committed as revision 26948 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 73d046e2
......@@ -2542,7 +2542,7 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
int v= av_clip_uint8(((RV*r + GV*g + BV*b)>>RGB2YUV_SHIFT) + 128);
pal[i]= y + (u<<8) + (v<<16);
}
src2[1]= pal;
src2[1]= (uint8_t*)pal;
}
// copy strides, so they can safely be modified
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment