changeset 18986:d743c48823cc

c++ decls, 100000000000l to whoever broke my code like this..
author rfelker
date Mon, 10 Jul 2006 02:54:43 +0000
parents add5f992bba2
children 1f08622dd297
files libmpcodecs/vf_tfields.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_tfields.c	Mon Jul 10 02:53:06 2006 +0000
+++ b/libmpcodecs/vf_tfields.c	Mon Jul 10 02:54:43 2006 +0000
@@ -330,17 +330,16 @@
 	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)