[Mplayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.19,1.20

Arpi of Ize arpi at mplayerhq.hu
Tue Apr 15 21:02:24 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv21974

Modified Files:
	vd_libmpeg2.c 
Log Message:
w%8!=0 hack


Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- vd_libmpeg2.c	6 Apr 2003 16:49:23 -0000	1.19
+++ vd_libmpeg2.c	15 Apr 2003 19:02:00 -0000	1.20
@@ -137,8 +137,8 @@
 		    (info->current_picture->flags&PIC_FLAG_PROGRESSIVE_FRAME)) ?
 			    MP_IMGFLAG_DRAW_CALLBACK:0)
 		: (MP_IMGFLAG_PRESERVE|MP_IMGFLAG_READABLE),
-		info->sequence->picture_width,
-		info->sequence->picture_height);
+		(info->sequence->picture_width+7)&(~7),
+		(info->sequence->picture_height+7)&(~7) );
 	    if(!mpi) return 0; // VO ERROR!!!!!!!!
 	    mpeg2_set_buf(mpeg2dec, mpi->planes, mpi);
 



More information about the MPlayer-cvslog mailing list