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

spyfeng subversion at mplayerhq.hu
Sun Mar 21 17:44:06 CET 2010


Author: spyfeng
Date: Sun Mar 21 17:44:06 2010
New Revision: 5704

Log:
remove useless temp variable.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Sun Mar 21 17:38:30 2010	(r5703)
+++ mms/mmst.c	Sun Mar 21 17:44:06 2010	(r5704)
@@ -322,7 +322,6 @@ static MMSSCPacketType get_tcp_server_re
                 }
             } else {
                 int length_remaining;
-                uint8_t *dst= mms->pkt_buf;
                 int packet_id_type;
                 int tmp;
 
@@ -343,7 +342,7 @@ static MMSSCPacketType get_tcp_server_re
                     dprintf(NULL, "Incoming Buffer Length overflow: %d>%d\n",
                     mms ->pkt_buf_len, (int) sizeof(mms->pkt_buf));
                 }
-                read_result= read_bytes(mms, dst, length_remaining);
+                read_result= read_bytes(mms, mms->pkt_buf, length_remaining);
                 if(read_result != length_remaining) {
                     dprintf(NULL, "read_bytes result: %d asking for %d\n",
                             read_result, length_remaining);


More information about the FFmpeg-soc mailing list