changeset 4392:ef5d6bb2c41b libavformat

Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
author lucabe
date Fri, 06 Feb 2009 20:42:21 +0000
parents 3c0d674bd232
children 87a896580005
files rtp.h rtpdec.h
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rtp.h	Fri Feb 06 20:41:15 2009 +0000
+++ b/rtp.h	Fri Feb 06 20:42:21 2009 +0000
@@ -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);
 
--- a/rtpdec.h	Fri Feb 06 20:41:15 2009 +0000
+++ b/rtpdec.h	Fri Feb 06 20:42:21 2009 +0000
@@ -57,6 +57,7 @@
 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);