[MPlayer-cvslog] CVS: main/libmpcodecs vd_libmpeg2.c,1.38,1.39

Jindrich Makovicka CVS syncmail at mplayerhq.hu
Wed Dec 1 10:35:34 CET 2004


CVS change done by Jindrich Makovicka CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv29041

Modified Files:
	vd_libmpeg2.c 
Log Message:
reserve enough memory for image

Index: vd_libmpeg2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vd_libmpeg2.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- vd_libmpeg2.c	22 Nov 2004 15:32:08 -0000	1.38
+++ vd_libmpeg2.c	1 Dec 2004 09:35:31 -0000	1.39
@@ -186,8 +186,8 @@
 	    mpi_new=mpcodecs_get_image(sh,MP_IMGTYPE_IPB,
 				       (type==PIC_FLAG_CODING_TYPE_B) ?
 					use_callback : (MP_IMGFLAG_PRESERVE|MP_IMGFLAG_READABLE),
-				       info->sequence->picture_width,
-				       info->sequence->picture_height );
+				       info->sequence->width,
+				       info->sequence->height);
 
 	    if(!mpi_new) return 0; // VO ERROR!!!!!!!!
 	    mpeg2_set_buf(mpeg2dec, mpi_new->planes, mpi_new);




More information about the MPlayer-cvslog mailing list