From 9335d08615e3193716782878e64f5b4687fc3926 Mon Sep 17 00:00:00 2001 From: rfelker Date: Mon, 10 Jul 2006 02:54:43 +0000 Subject: [PATCH] c++ decls, 100000000000l to whoever broke my code like this.. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18991 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_tfields.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libmpcodecs/vf_tfields.c b/libmpcodecs/vf_tfields.c index b10b48ba10..07d79546a6 100644 --- a/libmpcodecs/vf_tfields.c +++ b/libmpcodecs/vf_tfields.c @@ -330,17 +330,16 @@ static int continue_buffered_image(struct vf_instance_s *vf) int i=vf->priv->buffered_i; double pts = vf->priv->buffered_pts; mp_image_t *mpi = vf->priv->buffered_mpi; - - if (i == 0) - vf_queue_frame(vf, continue_buffered_image); - pts += i * .02; // XXX not right - int ret=0; mp_image_t *dmpi; void (*qpel)(unsigned char *, unsigned char *, int, int, int, int, int); int bpp=1; int tff; + if (i == 0) + vf_queue_frame(vf, continue_buffered_image); + pts += i * .02; // XXX not right + if (!(mpi->flags & MP_IMGFLAG_PLANAR)) bpp = mpi->bpp/8; if (vf->priv->parity < 0) { if (mpi->fields & MP_IMGFIELD_ORDERED)