From 1537817e3863d372f869be30994b943793efeeb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Fri, 16 Jul 2010 14:12:52 +0000 Subject: [PATCH] Move SPACE_CHARS back to libavformat/internal.h It will be used by other parts of lavf now. This reverts svn rev 23846. Originally committed as revision 24265 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/internal.h | 2 ++ libavformat/rtpdec.h | 2 -- libavformat/rtpdec_mpeg4.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/internal.h b/libavformat/internal.h index 9b68e9e49d..29d735ceac 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -167,4 +167,6 @@ int ff_get_v_length(uint64_t val); */ void ff_put_v(ByteIOContext *bc, uint64_t val); +#define SPACE_CHARS " \t\r\n" + #endif /* AVFORMAT_INTERNAL_H */ diff --git a/libavformat/rtpdec.h b/libavformat/rtpdec.h index aa686da7bb..5389bcc27a 100644 --- a/libavformat/rtpdec.h +++ b/libavformat/rtpdec.h @@ -26,8 +26,6 @@ #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 d443b64454..9512752b8f 100644 --- a/libavformat/rtpdec_mpeg4.c +++ b/libavformat/rtpdec_mpeg4.c @@ -28,6 +28,7 @@ */ #include "rtpdec_mpeg4.h" +#include "internal.h" #include "libavutil/avstring.h" #include "libavcodec/get_bits.h" #include