From 64b12fc31706d188d8d4a39f61dbc6fc59095e83 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 13 Dec 2009 18:42:39 +0000 Subject: [PATCH] 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 --- libavutil/avstring.c | 1 + libavutil/avstring.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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 #include #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 -#include "mem.h" /** * Return non-zero if pfx is a prefix of str. If it is, *ptr is set to