From f5fd8bb72ae2aa8865db767948e164b57c293816 Mon Sep 17 00:00:00 2001 From: rfelker Date: Fri, 8 Apr 2005 06:15:04 +0000 Subject: [PATCH] remove nonsense code left from copy&paste from another filter (it was never used) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15069 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_field.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libmpcodecs/vf_field.c b/libmpcodecs/vf_field.c index 86a3fc87de..a774250933 100644 --- a/libmpcodecs/vf_field.c +++ b/libmpcodecs/vf_field.c @@ -23,11 +23,6 @@ static int config(struct vf_instance_s* vf, } 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);