From 18c7b354c5cf9d5656cdb500ed3afef3628125ca Mon Sep 17 00:00:00 2001 From: Luca Abeni Date: Fri, 6 Feb 2009 20:42:21 +0000 Subject: [PATCH] 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 --- libavformat/rtp.h | 2 -- libavformat/rtpdec.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/libavformat/rtp.h b/libavformat/rtp.h index 834fb1b0d..6a19225ca 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 1eeb0ba96..72431f960 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); -- 2.11.0