summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorJosh Allmann <joshua.allmann@gmail.com>2010-06-28 11:21:34 +0000
committerMartin Storsjö <martin@martin.st>2010-06-28 11:21:34 +0000
commit8b114d85ba3bd8694dbba076647f346d11dbe327 (patch)
treee8338ba60d7672381ae6936923ad39728c0d9f94 /libavformat
parenteca9e4035a26289d09dd8293e1553886374065cb (diff)
rtpdec: Move space_chars from avformat/internal to rtpdec
Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 23846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/internal.h2
-rw-r--r--libavformat/rtpdec.h2
-rw-r--r--libavformat/rtpdec_mpeg4.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/internal.h b/libavformat/internal.h
index d77e36399b..2edc3306a7 100644
--- a/libavformat/internal.h
+++ b/libavformat/internal.h
@@ -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 */
diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h
index 8a62034737..439fcc2b4d 100644
--- a/libavformat/rtpdec.h
+++ b/libavformat/rtpdec.h
@@ -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;
diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c
index dec45b4ee8..cb22b32e11 100644
--- a/libavformat/rtpdec_mpeg4.c
+++ b/libavformat/rtpdec_mpeg4.c
@@ -28,7 +28,6 @@
*/
#include "rtpdec_mpeg4.h"
-#include "internal.h"
#include "libavutil/avstring.h"
#include "libavcodec/get_bits.h"
#include <strings.h>