From 8b114d85ba3bd8694dbba076647f346d11dbe327 Mon Sep 17 00:00:00 2001 From: Josh Allmann Date: Mon, 28 Jun 2010 11:21:34 +0000 Subject: [PATCH] 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 --- libavformat/internal.h | 2 -- libavformat/rtpdec.h | 2 ++ libavformat/rtpdec_mpeg4.c | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavformat/internal.h b/libavformat/internal.h index d77e363..2edc330 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 8a62034..439fcc2 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 dec45b4..cb22b32 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 -- 2.7.4