1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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
This commit is contained in:
Luca Abeni 2009-02-06 20:42:21 +00:00
parent d3536678dc
commit 18c7b354c5
2 changed files with 1 additions and 2 deletions

View File

@ -23,8 +23,6 @@
#include "libavcodec/avcodec.h" #include "libavcodec/avcodec.h"
#define RTP_MAX_PACKET_LENGTH 1500 /* XXX: suppress this define */
/** return < 0 if unknown payload type */ /** return < 0 if unknown payload type */
int rtp_get_payload_type(AVCodecContext *codec); int rtp_get_payload_type(AVCodecContext *codec);

View File

@ -57,6 +57,7 @@ typedef struct PayloadContext PayloadContext;
typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler; typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler;
#define RTP_MIN_PACKET_LENGTH 12 #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); int rtp_get_codec_info(AVCodecContext *codec, int payload_type);