OSDN Git Service

Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
authorLuca Abeni <lucabe72@email.it>
Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)
committerLuca Abeni <lucabe72@email.it>
Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)
Originally committed as revision 17023 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtp.h
libavformat/rtpdec.h

index 834fb1b..6a19225 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "libavcodec/avcodec.h"
 
-#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
-
 /** return < 0 if unknown payload type */
 int rtp_get_payload_type(AVCodecContext *codec);
 
index 1eeb0ba..72431f9 100644 (file)
@@ -57,6 +57,7 @@ typedef struct PayloadContext PayloadContext;
 typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler;
 
 #define RTP_MIN_PACKET_LENGTH 12
+#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
 
 int rtp_get_codec_info(AVCodecContext *codec, int payload_type);