changeset 8561:36da960c94e3

API change in dev-api-3 branch.
author rguyom
date Wed, 25 Dec 2002 11:44:14 +0000
parents 1320f1b3229d
children 82ecba0b039b
files libmpcodecs/ve_xvid.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_xvid.c	Tue Dec 24 22:33:46 2002 +0000
+++ b/libmpcodecs/ve_xvid.c	Wed Dec 25 11:44:14 2002 +0000
@@ -382,6 +382,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