changeset 16930:41aeb5e0cb4b

Fix bugs/crash introduced by translation patch
author reimar
date Sun, 06 Nov 2005 15:25:08 +0000
parents 7a760501d6cd
children e75728532229
files libmpdemux/asf_mmst_streaming.c libmpdemux/asf_streaming.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/asf_mmst_streaming.c	Sun Nov 06 14:44:49 2005 +0000
+++ b/libmpdemux/asf_mmst_streaming.c	Sun Nov 06 15:25:08 2005 +0000
@@ -654,7 +654,7 @@
   stream->streaming_ctrl->status = streaming_playing_e;
 
   packet_length1 = packet_length;
-  mp_msg(MSGT_NETWORK,MSGL_INFO,"mmst packet_length = %d\n");
+  mp_msg(MSGT_NETWORK,MSGL_INFO,"mmst packet_length = %d\n", packet_length);
 
 #ifdef USE_ICONV
   if (url_conv != (iconv_t)(-1))
--- a/libmpdemux/asf_streaming.c	Sun Nov 06 14:44:49 2005 +0000
+++ b/libmpdemux/asf_streaming.c	Sun Nov 06 15:25:08 2005 +0000
@@ -850,7 +850,7 @@
 	stream->streaming_ctrl->url = check4proxies(url);
 	url_free(url);
 	
-	mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_MPDEMUX_ASF_InfoStreamASFURL);
+	mp_msg(MSGT_OPEN, MSGL_INFO, MSGTR_MPDEMUX_ASF_InfoStreamASFURL, stream->url);
 	if((!strncmp(stream->url, "http", 4)) && (*file_format!=DEMUXER_TYPE_ASF && *file_format!=DEMUXER_TYPE_UNKNOWN)) {
 		streaming_ctrl_free(stream->streaming_ctrl);
 		stream->streaming_ctrl = NULL;