mirror of https://github.com/mpv-player/mpv
Remove only use if MP_IMGFLAG_RGB_PALETTE to allow giving the flag a slightly
different meaning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30115 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
929a159f69
commit
bd06a94738
|
@ -333,7 +333,6 @@ static mp_image_t* decode(sh_video_t *sh,void* data,int len,int flags){
|
||||||
if (priv->palette)
|
if (priv->palette)
|
||||||
{
|
{
|
||||||
mpi->planes[1] = priv->palette;
|
mpi->planes[1] = priv->palette;
|
||||||
mpi->flags |= MP_IMGFLAG_RGB_PALETTE;
|
|
||||||
mp_dbg(MSGT_DECVIDEO, MSGL_DBG2, "Found and copied palette\n");
|
mp_dbg(MSGT_DECVIDEO, MSGL_DBG2, "Found and copied palette\n");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue