[FFmpeg-soc] [soc]: r5763 - mms/mmst.c

spyfeng subversion at mplayerhq.hu
Mon Apr 19 18:29:05 CEST 2010


Author: spyfeng
Date: Mon Apr 19 18:29:05 2010
New Revision: 5763

Log:
remove useless variable from MMSContext.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Mon Apr 19 18:26:24 2010	(r5762)
+++ mms/mmst.c	Mon Apr 19 18:29:05 2010	(r5763)
@@ -97,7 +97,6 @@ typedef struct {
     /** Buffer for incoming packets. */
     /*@{*/
     uint8_t incoming_buffer[8192];       ///< Buffer for incoming packets.
-    int incoming_buffer_length;          ///< Incoming buffer length.
     uint8_t *pkt_read_ptr;               ///< Pointer for reading from incoming buffer.
     int pkt_buf_len;                     ///< Reading length from incoming buffer.
     /*@}*/
@@ -269,7 +268,6 @@ static MMSSCPacketType get_tcp_server_re
                     read_result = url_read_complete(mms->mms_hd, mms->incoming_buffer + 12,
                                                   length_remaining) ;
                     if (read_result == length_remaining) {
-                        mms->incoming_buffer_length= length_remaining+12;
                         packet_type= AV_RL16(mms->incoming_buffer+36);
 
                     } else {


More information about the FFmpeg-soc mailing list