From 83f37b54dedcfdb07684010571137697b3955b09 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Fri, 21 Jan 2011 00:45:28 +0100 Subject: cleanup: remove unused MEncoder-related code Remove some code and variables that were no longer used after MEncoder removal. Also remove some MEncoder references in comments. --- libmpcodecs/vf_yadif.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libmpcodecs/vf_yadif.c') diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c index 25a84ba0e7..2b2c180405 100644 --- a/libmpcodecs/vf_yadif.c +++ b/libmpcodecs/vf_yadif.c @@ -411,8 +411,6 @@ static int put_image(struct vf_instance *vf, mp_image_t *mpi, double pts){ return continue_buffered_image(vf); } -extern const int under_mencoder; - static int continue_buffered_image(struct vf_instance *vf) { mp_image_t *mpi = vf->priv->buffered_mpi; @@ -431,11 +429,10 @@ static int continue_buffered_image(struct vf_instance *vf) mpi->width,mpi->height); vf_clone_mpi_attributes(dmpi, mpi); filter(vf->priv, dmpi->planes, dmpi->stride, mpi->w, mpi->h, i ^ tff ^ 1, tff); - if (i < (vf->priv->mode & 1) && !under_mencoder) + if (i < (vf->priv->mode & 1)) vf_queue_frame(vf, continue_buffered_image); ret |= vf_next_put_image(vf, dmpi, pts /*FIXME*/); - if (!under_mencoder) - break; + break; } vf->priv->buffered_i = 1; return ret; -- cgit v1.2.3