From e150ef8d34544d212d961467ba985f4c61ef43f1 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 8 Oct 2008 17:48:23 +0000 Subject: Do not set src[1] to the palette, it is now in the context Originally committed as revision 27731 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/swscale.c | 1 - 1 file changed, 1 deletion(-) (limited to 'libswscale/swscale.c') diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 35015df78e..f3afb16695 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2741,7 +2741,6 @@ int sws_scale(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, c->pal_yuv[i]= y + (u<<8) + (v<<16); c->pal_rgb[i]= b + (g<<8) + (r<<16); } - src2[1]= (uint8_t*)c->pal_yuv; } // copy strides, so they can safely be modified -- cgit v1.2.3