diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-21 10:10:32 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-07-21 10:10:32 +0000 |
commit | 2ee5c42565edb4334f4c8c076ce02fbef08a7ffa (patch) | |
tree | c2133635be9b22d611d81dedb687fc4fd2b6dae8 | |
parent | f6127f873731cb55f03216fbd51cdc20bc3e4265 (diff) |
removing broken and unneeded copy
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12879 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpdemux/asf_streaming.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 (!( |