From 8e5e2a0f0d70446dd3568da0b721f50c5a40693f Mon Sep 17 00:00:00 2001 From: rguyom Date: Wed, 25 Dec 2002 11:44:14 +0000 Subject: [PATCH] API change in dev-api-3 branch. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8562 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_xvid.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libmpcodecs/ve_xvid.c b/libmpcodecs/ve_xvid.c index 341bb7b9b5..460be88c1c 100644 --- a/libmpcodecs/ve_xvid.c +++ b/libmpcodecs/ve_xvid.c @@ -382,6 +382,9 @@ put_image(struct vf_instance_s* vf, mp_image_t *mpi) 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