[FFmpeg-soc] [soc]: r5756 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Sun Apr 18 11:12:53 CEST 2010
Author: spyfeng
Date: Sun Apr 18 11:12:53 2010
New Revision: 5756
Log:
rename sequence_number to outgoing_packet_seq in order to match with incoming_packet_seq.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Sun Apr 18 11:06:06 2010 (r5755)
+++ mms/mmst.c Sun Apr 18 11:12:53 2010 (r5756)
@@ -81,7 +81,7 @@ typedef struct {
}MMSStream;
typedef struct {
- int sequence_number; ///< Outgoing packet sequence number.
+ int outgoing_packet_seq; ///< Outgoing packet sequence number.
char path[256]; ///< Path of the resource being asked for.
char host[128]; ///< Host of the resources.
@@ -136,7 +136,7 @@ static void start_command_packet(MMSCont
bytestream_put_le32(&mms->write_ptr, 0); // Length starts from after the protocol type bytes
bytestream_put_le32(&mms->write_ptr, MKTAG('M','M','S',' '));
bytestream_put_le32(&mms->write_ptr, 0);
- bytestream_put_le32(&mms->write_ptr, mms->sequence_number++);
+ bytestream_put_le32(&mms->write_ptr, mms->outgoing_packet_seq++);
bytestream_put_le64(&mms->write_ptr, 0); // timestamp
bytestream_put_le32(&mms->write_ptr, 0);
bytestream_put_le16(&mms->write_ptr, packet_type);
More information about the FFmpeg-soc
mailing list