[FFmpeg-cvslog] r20832 - in trunk/libavutil: avstring.c avstring.h

michael subversion
Sun Dec 13 19:42:39 CET 2009


Author: michael
Date: Sun Dec 13 19:42:39 2009
New Revision: 20832

Log:
Move #include where it belongs.
This as a sideeffect fixes the linking failure of ffplay.

Modified:
   trunk/libavutil/avstring.c
   trunk/libavutil/avstring.h

Modified: trunk/libavutil/avstring.c
==============================================================================
--- trunk/libavutil/avstring.c	Sun Dec 13 18:54:09 2009	(r20831)
+++ trunk/libavutil/avstring.c	Sun Dec 13 19:42:39 2009	(r20832)
@@ -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)
 {

Modified: trunk/libavutil/avstring.h
==============================================================================
--- trunk/libavutil/avstring.h	Sun Dec 13 18:54:09 2009	(r20831)
+++ trunk/libavutil/avstring.h	Sun Dec 13 19:42:39 2009	(r20832)
@@ -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



More information about the ffmpeg-cvslog mailing list