[Mplayer-cvslog] CVS: main/libmpcodecs vf_expand.c,1.1,1.2
Arpi of Ize
arpi at mplayer.dev.hu
Mon Apr 8 03:36:23 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv6124
Modified Files:
vf_expand.c
Log Message:
copy width too
Index: vf_expand.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_expand.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_expand.c 6 Apr 2002 22:05:01 -0000 1.1
+++ vf_expand.c 8 Apr 2002 01:36:21 -0000 1.2
@@ -54,15 +54,15 @@
(vf->priv->exp_y>>1)*vf->priv->dmpi->stride[1]+(vf->priv->exp_x>>1);
mpi->planes[2]=vf->priv->dmpi->planes[2]+
(vf->priv->exp_y>>1)*vf->priv->dmpi->stride[2]+(vf->priv->exp_x>>1);
- mpi->stride[0]=vf->priv->dmpi->stride[0];
mpi->stride[1]=vf->priv->dmpi->stride[1];
mpi->stride[2]=vf->priv->dmpi->stride[2];
} else {
mpi->planes[0]=vf->priv->dmpi->planes[0]+
vf->priv->exp_y*vf->priv->dmpi->stride[0]+
vf->priv->exp_x*(vf->priv->dmpi->bpp/8);
- mpi->stride[0]=vf->priv->dmpi->stride[0];
}
+ mpi->stride[0]=vf->priv->dmpi->stride[0];
+ mpi->width=vf->priv->dmpi->width;
mpi->flags|=MP_IMGFLAG_DIRECT;
}
}
More information about the MPlayer-cvslog
mailing list