aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2009-12-13 18:42:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2009-12-13 18:42:39 +0000
commit64b12fc31706d188d8d4a39f61dbc6fc59095e83 (patch)
treed6a15c22826b3c8031d92b09a2bc2cd6a0885318
parent17986563eb5491ae1153a2034b3bde0b5a507f10 (diff)
downloadffmpeg-64b12fc31706d188d8d4a39f61dbc6fc59095e83.tar.gz
Move #include where it belongs.
This as a sideeffect fixes the linking failure of ffplay. Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavutil/avstring.c1
-rw-r--r--libavutil/avstring.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index b77b1605ab..02af970812 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -24,6 +24,7 @@
#include <string.h>
#include <ctype.h>
#include "avstring.h"
+#include "mem.h"
int av_strstart(const char *str, const char *pfx, const char **ptr)
{
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 98d5235b65..b8203f372f 100644
--- a/libavutil/avstring.h
+++ b/libavutil/avstring.h
@@ -22,7 +22,6 @@
#define AVUTIL_AVSTRING_H
#include <stddef.h>
-#include "mem.h"
/**
* Return non-zero if pfx is a prefix of str. If it is, *ptr is set to