]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Move RTP_MAX_PACKET_LENGTH to rtpdec.h: it is not used in the muxer anymore
authorlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)
committerlucabe <lucabe@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 6 Feb 2009 20:42:21 +0000 (20:42 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17023 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavformat/rtp.h
libavformat/rtpdec.h

index 834fb1b0d3c298454648f9601638f45e1091a7a8..6a19225cac271d6522c53ed8d0a7e9d9ac9ea3f5 100644 (file)
@@ -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);
 
index 1eeb0ba9687417ac9174ecb6c25dc0bcb4f6b9ab..72431f9602a3e94e15d28dfb82c9718860ccaa68 100644 (file)
@@ -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);