[FFmpeg-soc] [soc]: r5832 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Wed Jun 16 11:06:09 CEST 2010
Author: spyfeng
Date: Wed Jun 16 11:06:08 2010
New Revision: 5832
Log:
fix misusage for dprintf() in mmst.c.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Tue Jun 15 18:52:35 2010 (r5831)
+++ mms/mmst.c Wed Jun 16 11:06:08 2010 (r5832)
@@ -258,7 +258,7 @@ static MMSSCPacketType get_tcp_server_re
// read the rest of the packet.
if (length_remaining < 0
|| length_remaining > sizeof(mms->in_buffer) - 12) {
- dprintf("Incoming message len %d exceeds buffer len %d\n",
+ dprintf(NULL, "Incoming message len %d exceeds buffer len %d\n",
length_remaining, sizeof(mms->in_buffer) - 12);
return -1;
}
@@ -291,7 +291,7 @@ static MMSSCPacketType get_tcp_server_re
if (length_remaining < 0
|| length_remaining > sizeof(mms->in_buffer) - 8) {
- dprintf("Incoming data len %d exceeds buffer len %d\n",
+ dprintf(NULL, "Incoming data len %d exceeds buffer len %d\n",
length_remaining, sizeof(mms->in_buffer));
return -1;
}
@@ -431,7 +431,7 @@ static int asf_header_parser(MMSContext
while(end - p >= sizeof(ff_asf_guid) + 8) {
uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid));
if (!chunksize || chunksize > end - p) {
- dprintf("chunksize is exceptional value:%d!\n", chunksize);
+ dprintf(NULL, "chunksize is exceptional value:%d!\n", chunksize);
return -1;
}
if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {
@@ -455,7 +455,7 @@ static int asf_header_parser(MMSContext
mms->streams[mms->stream_num].id = stream_id;
mms->stream_num++;
} else {
- dprintf("Too many streams.\n");
+ dprintf(NULL,"Too many streams.\n");
return -1;
}
}
More information about the FFmpeg-soc
mailing list