rtpdec: Move space_chars from avformat/internal to rtpdec
authorJosh Allmann <joshua.allmann@gmail.com>
Mon, 28 Jun 2010 11:21:34 +0000 (11:21 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 28 Jun 2010 11:21:34 +0000 (11:21 +0000)
Patch by Josh Allmann, joshua dot allmann at gmail

Originally committed as revision 23846 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/internal.h
libavformat/rtpdec.h
libavformat/rtpdec_mpeg4.c

index d77e363..2edc330 100644 (file)
@@ -157,6 +157,4 @@ void ff_sdp_write_media(char *buff, int size, AVCodecContext *c,
 int ff_write_chained(AVFormatContext *dst, int dst_stream, AVPacket *pkt,
                      AVFormatContext *src);
 
-#define SPACE_CHARS " \t\r\n"
-
 #endif /* AVFORMAT_INTERNAL_H */
index 8a62034..439fcc2 100644 (file)
@@ -26,6 +26,8 @@
 #include "avformat.h"
 #include "rtp.h"
 
+#define SPACE_CHARS " \t\r\n"
+
 typedef struct PayloadContext PayloadContext;
 typedef struct RTPDynamicProtocolHandler_s RTPDynamicProtocolHandler;
 
index dec45b4..cb22b32 100644 (file)
@@ -28,7 +28,6 @@
  */
 
 #include "rtpdec_mpeg4.h"
-#include "internal.h"
 #include "libavutil/avstring.h"
 #include "libavcodec/get_bits.h"
 #include <strings.h>