Move #include where it belongs.
This as a sideeffect fixes the linking failure of ffplay.
author |
michael |
date |
Sun, 13 Dec 2009 18:42:39 +0000 |
parents |
cb32a271f4cd |
children |
0f0768396e60 |
files |
avstring.c avstring.h |
diffstat |
2 files changed, 1 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/avstring.c Sun Dec 13 17:09:41 2009 +0000
+++ b/avstring.c Sun Dec 13 18:42:39 2009 +0000
@@ -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)
{
--- a/avstring.h Sun Dec 13 17:09:41 2009 +0000
+++ b/avstring.h Sun Dec 13 18:42:39 2009 +0000
@@ -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