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
pull/126/head
Luca Abeni 16 years ago
parent d3536678dc
commit 18c7b354c5
  1. 2
      libavformat/rtp.h
  2. 1
      libavformat/rtpdec.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);

@ -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);

Loading…
Cancel
Save