diff options
author | Luca Abeni <lucabe72@email.it> | 2009-02-06 20:42:21 +0000 |
---|---|---|
committer | Luca Abeni <lucabe72@email.it> | 2009-02-06 20:42:21 +0000 |
commit | 18c7b354c5cf9d5656cdb500ed3afef3628125ca (patch) | |
tree | 81990dea5888b29e1f34e9d62556064817d157c7 | |
parent | d3536678dc87608c18c9aecde357173924c4a5fd (diff) | |
download | ffmpeg-18c7b354c5cf9d5656cdb500ed3afef3628125ca.tar.gz |
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.h | 2 | ||||
-rw-r--r-- | libavformat/rtpdec.h | 1 |
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); |