summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat')
-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);