summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorvitor <vitor@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-08 17:48:23 +0000
committervitor <vitor@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-10-08 17:48:23 +0000
commit74bb6be453fb896a48d16254cf55449b58052d0b (patch)
tree2e7c5540923f3c90c9f6e3a0fe276eab6e4dd1a3 /libswscale/swscale.c
parentc51fe849d6237c7de2e1de341761d4f01848a002 (diff)
downloadmpv-74bb6be453fb896a48d16254cf55449b58052d0b.tar.bz2
mpv-74bb6be453fb896a48d16254cf55449b58052d0b.tar.xz
Do not set src[1] to the palette, it is now in the context
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27731 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c1
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