[Mplayer-cvslog] CVS: main/libmpdemux asf_streaming.c,1.47,1.48
Alex Beregszaszi
syncmail at mplayerhq.hu
Wed Jul 21 12:10:34 CEST 2004
CVS change done by Alex Beregszaszi
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv24343
Modified Files:
asf_streaming.c
Log Message:
removing broken and unneeded copy
Index: asf_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_streaming.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- asf_streaming.c 25 Jun 2004 17:02:51 -0000 1.47
+++ asf_streaming.c 21 Jul 2004 10:10:32 -0000 1.48
@@ -47,11 +47,8 @@
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 (!(
More information about the MPlayer-cvslog
mailing list