aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux/asf_streaming.c
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-12 22:29:27 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-03-12 22:29:27 +0000
commitbea8281d3d0f47f354c1c74d1f33b187c82fb1c8 (patch)
treea6264df13e2fd45884c6fe45941cb5953e21b081 /libmpdemux/asf_streaming.c
parent1a3ec4b7e6c02174160363879f1004aaeb3c0331 (diff)
Fix compilation error introduced by last commit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17841 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/asf_streaming.c')
-rw-r--r--libmpdemux/asf_streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c
index ac58ee821f..30ebc29dc7 100644
--- a/libmpdemux/asf_streaming.c
+++ b/libmpdemux/asf_streaming.c
@@ -685,7 +685,7 @@ static int asf_http_parse_response(asf_http_streaming_ctrl_t *asf_http_ctrl, HTT
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 );