changeset 15068:1cb1a9584c3b

remove nonsense code left from copy&paste from another filter (it was never used)
author rfelker
date Fri, 08 Apr 2005 06:15:04 +0000
parents 21330e95a22d
children 3f5daa60e049
files libmpcodecs/vf_field.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_field.c	Fri Apr 08 00:52:43 2005 +0000
+++ b/libmpcodecs/vf_field.c	Fri Apr 08 06:15:04 2005 +0000
@@ -23,11 +23,6 @@
 }
 
 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){
-    if(mpi->flags&MP_IMGFLAG_DIRECT){
-	// we've used DR, so we're ready...
-	return vf_next_put_image(vf,(mp_image_t*)mpi->priv);
-    }
-
     vf->dmpi=vf_get_image(vf->next,mpi->imgfmt,
 	MP_IMGTYPE_EXPORT, MP_IMGFLAG_ACCEPT_STRIDE,
 	mpi->width, mpi->height/2);