changeset 7258:2a96fbce0848

bgr8 palette fixed
author arpi
date Tue, 03 Sep 2002 20:26:32 +0000
parents 9f8ea4d17cb5
children d74ad898d0a8
files libmpcodecs/vf_flip.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_flip.c	Tue Sep 03 20:02:53 2002 +0000
+++ b/libmpcodecs/vf_flip.c	Tue Sep 03 20:26:32 2002 +0000
@@ -65,7 +65,8 @@
 	vf->priv->dmpi->planes[2]=mpi->planes[2]+
 	    mpi->stride[2]*((mpi->height>>mpi->chroma_y_shift)-1);
 	vf->priv->dmpi->stride[2]=-mpi->stride[2];
-    }
+    } else
+	vf->priv->dmpi->planes[1]=mpi->planes[1]; // passthru bgr8 palette!!!
     
     vf_next_put_image(vf,vf->priv->dmpi);
 }