[Mplayer-cvslog] CVS: main dec_video.c,1.118,1.119
Arpi of Ize
arpi at mplayer.dev.hu
Wed Mar 6 15:27:47 CET 2002
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv12579
Modified Files:
dec_video.c
Log Message:
workaround for CVID frames width!=0
Index: dec_video.c
===================================================================
RCS file: /cvsroot/mplayer/main/dec_video.c,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -r1.118 -r1.119
--- dec_video.c 6 Mar 2002 02:22:46 -0000 1.118
+++ dec_video.c 6 Mar 2002 14:27:36 -0000 1.119
@@ -470,6 +470,8 @@
case VFM_CINEPAK: {
#ifdef USE_MP_IMAGE
sh_video->image->type=MP_IMGTYPE_STATIC;
+ sh_video->image->width=(sh_video->image->width+3)&(~3);
+ sh_video->image->height=(sh_video->image->height+3)&(~3);
#else
int bpp=((out_fmt&255)+7)/8;
sh_video->our_out_buffer_size = sh_video->disp_w*sh_video->disp_h*bpp;
More information about the MPlayer-cvslog
mailing list