removing broken and unneeded copy

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12879 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2004-07-21 10:10:32 +00:00
parent f6127f8737
commit 2ee5c42565
1 changed files with 2 additions and 5 deletions

View File

@ -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 (!(