[Mplayer-cvslog] CVS: main/libmpdemux asf_mmst_streaming.c,1.7,1.8
Alex Beregszaszi
alex at mplayerhq.hu
Sun May 25 20:28:46 CEST 2003
- Previous message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk opts.c,1.60,1.61
- Next message: [Mplayer-cvslog] CVS: main/DOCS/xml/en cd-dvd.xml,1.2,1.3 formats.xml,1.2,1.3 mencoder.xml,1.3,1.4 ports.xml,1.1,1.2 usage.xml,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv8749
Modified Files:
asf_mmst_streaming.c
Log Message:
10l found by yepyep
Index: asf_mmst_streaming.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/asf_mmst_streaming.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- asf_mmst_streaming.c 30 Oct 2002 14:10:36 -0000 1.7
+++ asf_mmst_streaming.c 25 May 2003 18:28:26 -0000 1.8
@@ -424,7 +424,7 @@
int asf_mmst_streaming_start(stream_t *stream)
{
char str[1024];
- char data[1024];
+ char data[BUF_SIZE];
uint8_t asf_header[8192];
int asf_header_len;
int len, i, packet_length;
@@ -455,7 +455,7 @@
* cmd 1 0x01
* */
- sprintf (str, "\034\003NSPlayer/7.0.0.1956; {33715801-BAB3-9D85-24E9-03B90328270A}; Host: %s", url1->hostname);
+ snprintf (str, 1023, "\034\003NSPlayer/7.0.0.1956; {33715801-BAB3-9D85-24E9-03B90328270A}; Host: %s", url1->hostname);
string_utf16 (data, str, strlen(str)+2);
// send_command(s, commandno ....)
send_command (s, 1, 0, 0x0004000b, strlen(str) * 2+8, data);
- Previous message: [Mplayer-cvslog] CVS: main/Gui/mplayer/gtk opts.c,1.60,1.61
- Next message: [Mplayer-cvslog] CVS: main/DOCS/xml/en cd-dvd.xml,1.2,1.3 formats.xml,1.2,1.3 mencoder.xml,1.3,1.4 ports.xml,1.1,1.2 usage.xml,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list