Commit 18c7b354 authored by Luca Abeni's avatar Luca Abeni

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
parent d3536678
......@@ -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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment