summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Abeni <lucabe72@email.it>2009-02-06 20:42:21 +0000
committerLuca Abeni <lucabe72@email.it>2009-02-06 20:42:21 +0000
commit18c7b354c5cf9d5656cdb500ed3afef3628125ca (patch)
tree81990dea5888b29e1f34e9d62556064817d157c7
parentd3536678dc87608c18c9aecde357173924c4a5fd (diff)
Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
Originally committed as revision 17023 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/rtp.h2
-rw-r--r--libavformat/rtpdec.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index 834fb1b0d3..6a19225cac 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -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);
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 1eeb0ba968..72431f9602 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -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);