[FFmpeg-soc] [soc]: r5684 - mms/mmst.c
spyfeng
subversion at mplayerhq.hu
Sat Mar 20 15:07:00 CET 2010
Author: spyfeng
Date: Sat Mar 20 15:07:00 2010
New Revision: 5684
Log:
rename media_packet_seek_offset to pkt_offset for short.
Modified:
mms/mmst.c
Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c Sat Mar 20 14:53:07 2010 (r5683)
+++ mms/mmst.c Sat Mar 20 15:07:00 2010 (r5684)
@@ -100,7 +100,7 @@ typedef struct {
uint8_t pkt_buf[8192]; ///< header or media packet.
uint8_t *pkt_read_ptr; ///< Pointer for partial reads.
int pkt_buf_len; ///< Buffer length.
- int media_packet_seek_offset; ///< offset in packet.
+ int pkt_offset; ///< offset in packet.
/*@}*/
int incoming_packet_seq; ///< Incoming packet sequence number.
@@ -305,10 +305,10 @@ static void pad_media_packet(MMSContext
+ mms->pkt_buf_len, 0, padding_size);
mms->pkt_buf_len += padding_size;
}
- if(mms->media_packet_seek_offset) {
- mms->pkt_buf_len -= mms->media_packet_seek_offset;
- mms->pkt_read_ptr += mms->media_packet_seek_offset;
- mms->media_packet_seek_offset = 0;
+ if(mms->pkt_offset) {
+ mms->pkt_buf_len -= mms->pkt_offset;
+ mms->pkt_read_ptr += mms->pkt_offset;
+ mms->pkt_offset = 0;
}
}
More information about the FFmpeg-soc
mailing list