[MPlayer-dev-eng] Removing the "size restrictions for MP at ML or MPEG1 exceeded!" message

Tobias Diedrich ranma at tdiedrich.de
Fri Jul 2 14:05:57 CEST 2004


Are there any reasons against removing that message?
If it should stay, then I think it should be changed to be printed only
once.

-- 
Tobias						PGP: http://9ac7e0bc.2ya.com
このメールは十割再利用されたビットで作られています。
-------------- next part --------------
Index: libmpdemux/mpeg_hdr.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/mpeg_hdr.c,v
retrieving revision 1.4
diff -u -r1.4 mpeg_hdr.c
--- libmpdemux/mpeg_hdr.c	11 Jun 2004 08:06:01 -0000	1.4
+++ libmpdemux/mpeg_hdr.c	2 Jul 2004 12:05:30 -0000
@@ -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-dev-eng mailing list