[MPlayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.61,1.62

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Mar 12 23:29:29 CET 2006


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	asf_streaming.c 
Log Message:
Fix compilation error introduced by last commit


Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- asf_streaming.c	12 Mar 2006 21:44:22 -0000	1.61
+++ asf_streaming.c	12 Mar 2006 22:29:27 -0000	1.62
@@ -685,7 +685,7 @@
 				  len = (unsigned int)(end-pragma);
 				}
 				if(len > sizeof(features) - 1) {
-				  mp_msg(MSGT_NETWORK,MSGL_WARN,MSGTR_MPDEMUX_ASF_ASFHTTPParseWarnCuttedPragma,pragma,s,sizeof(features));
+				  mp_msg(MSGT_NETWORK,MSGL_WARN,MSGTR_MPDEMUX_ASF_ASFHTTPParseWarnCuttedPragma,pragma,len,sizeof(features) - 1);
 				  len = sizeof(features) - 1;
 				}
 				strncpy( features, pragma, len );




More information about the MPlayer-cvslog mailing list