# HG changeset patch # User arpi # Date 1018750049 0 # Node ID b2b1942b16d51a47b19b9daac437558edd503ce2 # Parent 481592004427f6131934b69a18e4634d1146e96a export width too diff -r 481592004427 -r b2b1942b16d5 libmpcodecs/vf_crop.c --- a/libmpcodecs/vf_crop.c Sun Apr 14 01:21:13 2002 +0000 +++ b/libmpcodecs/vf_crop.c Sun Apr 14 02:07:29 2002 +0000 @@ -44,15 +44,15 @@ (vf->priv->crop_y>>1)*mpi->stride[1]+(vf->priv->crop_x>>1); dmpi->planes[2]=mpi->planes[2]+ (vf->priv->crop_y>>1)*mpi->stride[2]+(vf->priv->crop_x>>1); - dmpi->stride[0]=mpi->stride[0]; dmpi->stride[1]=mpi->stride[1]; dmpi->stride[2]=mpi->stride[2]; } else { dmpi->planes[0]=mpi->planes[0]+ vf->priv->crop_y*mpi->stride[0]+ vf->priv->crop_x*(mpi->bpp/8); - dmpi->stride[0]=mpi->stride[0]; } + dmpi->stride[0]=mpi->stride[0]; + dmpi->width=mpi->width; vf_next_put_image(vf,dmpi); }