Move #include where it belongs.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Dec 2009 18:42:39 +0000 (18:42 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 13 Dec 2009 18:42:39 +0000 (18:42 +0000)
This as a sideeffect fixes the linking failure of ffplay.

Originally committed as revision 20832 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/avstring.c
libavutil/avstring.h

index b77b160..02af970 100644 (file)
@@ -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)
 {
index 98d5235..b8203f3 100644 (file)
@@ -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