diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-17 11:04:13 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-17 11:04:13 +0000 |
commit | 29aefa57b43b45bfabc356d2a162aeeeb4a6e3bb (patch) | |
tree | 6dc936411c659b11f4ffb54acc20fedff46d5bda | |
parent | f0ed643434c25c206f696ce575e19937d8b6f113 (diff) |
another ridiculous palette bug which has nothing to do with the new palete support in sws
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22242 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf_scale.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpcodecs/vf_scale.c b/libmpcodecs/vf_scale.c index f49153d843..8d786e771c 100644 --- a/libmpcodecs/vf_scale.c +++ b/libmpcodecs/vf_scale.c @@ -257,6 +257,7 @@ static int config(struct vf_instance_s* vf, vf->priv->palette[4*i+0]=4*(i&3)*21; vf->priv->palette[4*i+1]=4*((i>>2)&7)*9; vf->priv->palette[4*i+2]=4*((i>>5)&7)*9; + vf->priv->palette[4*i+3]=0; } break; } case IMGFMT_BGR4: @@ -267,6 +268,7 @@ static int config(struct vf_instance_s* vf, vf->priv->palette[4*i+0]=4*(i&1)*63; vf->priv->palette[4*i+1]=4*((i>>1)&3)*21; vf->priv->palette[4*i+2]=4*((i>>3)&1)*63; + vf->priv->palette[4*i+3]=0; } break; } } |