[Mplayer-cvslog] CVS: main/libmpdemux mpeg_hdr.c,1.4,1.5

Tobias Diedrich CVS syncmail at mplayerhq.hu
Sat Jul 3 13:38:58 CEST 2004


CVS change done by Tobias Diedrich CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv28074

Modified Files:
	mpeg_hdr.c 
Log Message:
Remove useless "size restrictions" message

Index: mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- mpeg_hdr.c	11 Jun 2004 08:06:01 -0000	1.4
+++ mpeg_hdr.c	3 Jul 2004 11:38:56 -0000	1.5
@@ -39,11 +39,6 @@
     width = ((height >> 12) + 15) & ~15;
     height = ((height & 0xfff) + 15) & ~15;
 
-    if ((width > 768) || (height > 576)){
-	printf("size restrictions for MP at ML or MPEG1 exceeded! (%dx%d)\n",width,height);
-//	return 1;	/* size restrictions for MP at ML or MPEG1 */
-    }
-    
     picture->aspect_ratio_information = buffer[3] >> 4;
     picture->frame_rate_code = buffer[3] & 15;
     picture->fps=frameratecode2framerate[picture->frame_rate_code];




More information about the MPlayer-cvslog mailing list