[MPlayer-dev-eng] [PATCH] xvid patch for last dev3api

Marco "elcabesa" Belli elcabesa at inwind.it
Wed Dec 25 11:37:37 CET 2002


Alle 16:10, martedì 24 dicembre 2002, Alex Beregszaszi ha scritto:
> Hi,
>
> > i made not cosmetical changes... i only added one line.. but cvs -diff
> > always add the 2  } changes.. i don't know why
>
> maybe your editor?
>
> use cvs diff -ubB


thanks now it properly work

-------------- next part --------------
? out.txt
Index: libmpcodecs/ve_xvid.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_xvid.c,v
retrieving revision 1.11
diff -u -b -B -r1.11 ve_xvid.c
--- libmpcodecs/ve_xvid.c	18 Dec 2002 08:10:24 -0000	1.11
+++ libmpcodecs/ve_xvid.c	25 Dec 2002 10:38:44 -0000
@@ -382,6 +383,9 @@
     fp->enc_frame.bitstream = fp->mux->buffer;
     fp->enc_frame.length = -1 /* fp->mux->buffer_size */;
     fp->enc_frame.image = mpi->planes[0];
+#ifdef XVID_API_UNSTABLE
+    fp->enc_frame.stride = mpi->stride[0];
+#endif
 
     // get quantizers & I/P decision from the VBR engine
 #ifdef XVID_API_UNSTABLE


More information about the MPlayer-dev-eng mailing list