diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-10-08 17:48:23 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-10-08 17:48:23 +0000 |
commit | e150ef8d34544d212d961467ba985f4c61ef43f1 (patch) | |
tree | 0dab3ade6caec4419cdae870a75df4b2f190eed1 /libswscale/swscale.c | |
parent | 4900461742dcbda281171ae97ed53f3b9ff13849 (diff) | |
download | ffmpeg-e150ef8d34544d212d961467ba985f4c61ef43f1.tar.gz |
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
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r-- | libswscale/swscale.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 |