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