aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö2010-07-16 14:12:52 +0000
committerMartin Storsjö2010-07-16 14:12:52 +0000
commit1537817e3863d372f869be30994b943793efeeb1 (patch)
tree354bc550f22e2cc14d64032d3e754e5c7bf964ec
parenta5b588bcad5b377f002147e5521809be79db7513 (diff)
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
-rw-r--r--libavformat/internal.h2
-rw-r--r--libavformat/rtpdec.h2
-rw-r--r--libavformat/rtpdec_mpeg4.c1
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 <strings.h>