diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2010-06-28 11:21:34 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-06-28 11:21:34 +0000 |
commit | 8b114d85ba3bd8694dbba076647f346d11dbe327 (patch) | |
tree | e8338ba60d7672381ae6936923ad39728c0d9f94 | |
parent | eca9e4035a26289d09dd8293e1553886374065cb (diff) | |
download | ffmpeg-streaming-8b114d85ba3bd8694dbba076647f346d11dbe327.zip ffmpeg-streaming-8b114d85ba3bd8694dbba076647f346d11dbe327.tar.gz |
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
-rw-r--r-- | libavformat/internal.h | 2 | ||||
-rw-r--r-- | libavformat/rtpdec.h | 2 | ||||
-rw-r--r-- | 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 <strings.h> |