changeset 17840:42843606bc06

Fix compilation error introduced by last commit
author reimar
date Sun, 12 Mar 2006 22:29:27 +0000
parents e5dbddb8d3f6
children 73db10d5f2e3
files libmpdemux/asf_streaming.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_streaming.c	Sun Mar 12 22:14:00 2006 +0000
+++ b/libmpdemux/asf_streaming.c	Sun Mar 12 22:29:27 2006 +0000
@@ -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 );