From 2ee5c42565edb4334f4c8c076ce02fbef08a7ffa Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 21 Jul 2004 10:10:32 +0000 Subject: removing broken and unneeded copy git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12879 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/asf_streaming.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libmpdemux/asf_streaming.c') diff --git a/libmpdemux/asf_streaming.c b/libmpdemux/asf_streaming.c index 9eb7518203..efb89b543a 100644 --- a/libmpdemux/asf_streaming.c +++ b/libmpdemux/asf_streaming.c @@ -47,11 +47,8 @@ int asf_mmst_streaming_start( stream_t *stream ); int asf_streaming_start( stream_t *stream, int *demuxer_type) { - char proto_s[10]; - int protolen, fd = -1; - - strncpy( proto_s, stream->streaming_ctrl->url->protocol, 10 ); - protolen=strlen(proto_s); + char *proto_s = stream->streaming_ctrl->url->protocol; + int protolen = strlen(proto_s), fd = -1; // Is protocol even valid mms,mmsu,mmst,http,http_proxy? if (!( -- cgit v1.2.3