changeset 6962:ba721168ed24

oops forgot to commit that
author michael
date Sun, 11 Aug 2002 09:40:57 +0000
parents 201b25a9b939
children 76fee64d884a
files libmpcodecs/vf_noise.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_noise.c	Sun Aug 11 00:28:12 2002 +0000
+++ b/libmpcodecs/vf_noise.c	Sun Aug 11 09:40:57 2002 +0000
@@ -215,8 +215,7 @@
 
 static void get_image(struct vf_instance_s* vf, mp_image_t *mpi){
     if(mpi->flags&MP_IMGFLAG_PRESERVE) return; // don't change
-    if(!(mpi->flags&MP_IMGFLAG_ACCEPT_STRIDE) && mpi->imgfmt!=vf->priv->outfmt)
-	return; // colorspace differ
+    if(mpi->imgfmt!=vf->priv->outfmt) return; // colorspace differ
     // ok, we can do pp in-place (or pp disabled):
     vf->priv->dmpi=vf_get_image(vf->next,mpi->imgfmt,
         mpi->type, mpi->flags, mpi->w, mpi->h);