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

spyfeng subversion at mplayerhq.hu
Sat Mar 13 13:11:58 CET 2010


Author: spyfeng
Date: Sat Mar 13 13:11:58 2010
New Revision: 5657

Log:
remove macro define MMS_KILO.

Modified:
   mms/mmst.c

Modified: mms/mmst.c
==============================================================================
--- mms/mmst.c	Sat Mar 13 13:04:37 2010	(r5656)
+++ mms/mmst.c	Sat Mar 13 13:11:58 2010	(r5657)
@@ -29,7 +29,6 @@
 #define DEBUG
 #define MMS_DEBUG_LEVEL 2
 #define MMS_MAXIMUM_PACKET_LENGTH 512
-#define MMS_KILO                  1024
 #define DEFAULT_MMS_PORT      1755
 
 /** State machine states. */
@@ -139,13 +138,13 @@ typedef struct {
 
     /** Buffer for incoming control packets. */
     /*@{*/
-    uint8_t incoming_buffer[8*MMS_KILO]; ///< Incoming buffer location.
+    uint8_t incoming_buffer[8192]; ///< Incoming buffer location.
     int incoming_buffer_length; ///< Incoming buffer length.
     /*@}*/
 
     /** Buffer for incoming media/header packets. */
     /*@{*/
-    uint8_t media_packet_incoming_buffer[8*MMS_KILO]; ///< Either a header or media packet.
+    uint8_t media_packet_incoming_buffer[8192]; ///< Either a header or media packet.
     uint8_t *media_packet_read_ptr; ///< Pointer for partial reads.
     int media_packet_buffer_length; ///< Buffer length.
     int media_packet_seek_offset;   ///< Additional offset into packet from seek.


More information about the FFmpeg-soc mailing list