[FFmpeg-soc] [soc]: r5719 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Thu Mar 25 16:30:32 CET 2010
Author: spyfeng
Date: Thu Mar 25 16:30:31 2010
New Revision: 5719
Log:
remove two line according to mms specification and fix a typo.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Thu Mar 25 15:47:30 2010 (r5718)
+++ mms/mmst.c Thu Mar 25 16:30:31 2010 (r5719)
@@ -132,7 +132,7 @@ static void start_command_packet(MMSCont
put_le32(context, MKTAG('M','M','S',' '));
put_le32(context, 0);
put_le32(context, mms->sequence_number++);
- put_le64(context, 0); // timestmamp
+ put_le64(context, 0); // timestamp
put_le32(context, 0);
put_le16(context, packet_type);
put_le16(context, 3); // direction to server
@@ -207,7 +207,6 @@ static int send_media_file_request(MMSCo
put_le32(&mms->outgoing_packet_data, 0);
put_le32(&mms->outgoing_packet_data, 0);
ff_put_str16_nolen(&mms->outgoing_packet_data, mms->path+1); // +1 for skip "/".
- put_le32(&mms->outgoing_packet_data, 0);
return send_command_packet(mms);
}
@@ -384,7 +383,6 @@ static int send_startup_packet(MMSContex
insert_command_prefixes(mms, 0, 0x0004000b);
put_le32(&mms->outgoing_packet_data, 0x0003001c);
ff_put_str16_nolen(&mms->outgoing_packet_data, data_string);
- put_le16(&mms->outgoing_packet_data, 0); // double unicode ended string.
return send_command_packet(mms);
}
More information about the FFmpeg-soc
mailing list