[MPlayer-cvslog] r28623 - trunk/libmpcodecs/vf_fspp.c

diego subversion at mplayerhq.hu
Tue Feb 17 04:15:10 CET 2009


Author: diego
Date: Tue Feb 17 04:15:10 2009
New Revision: 28623

Log:
Move FFmpeg #includes below all others so that they do not override
system functions and cause the warning:
In file included from libmpcodecs/vf_fspp.c:57:
libmpcodecs/mp_image.h: In function 'new_mp_image':
libmpcodecs/mp_image.h:214: warning: implicit declaration of function 'please_use_av_malloc'
libmpcodecs/mp_image.h: In function 'free_mp_image':
libmpcodecs/mp_image.h:226: warning: implicit declaration of function 'please_use_av_free'

Modified:
   trunk/libmpcodecs/vf_fspp.c

Modified: trunk/libmpcodecs/vf_fspp.c
==============================================================================
--- trunk/libmpcodecs/vf_fspp.c	Tue Feb 17 04:08:56 2009	(r28622)
+++ trunk/libmpcodecs/vf_fspp.c	Tue Feb 17 04:15:10 2009	(r28623)
@@ -43,12 +43,6 @@
 #include "mp_msg.h"
 #include "cpudetect.h"
 
-#include "libavutil/internal.h"
-#include "libavutil/intreadwrite.h"
-#include "libavutil/mem.h"
-#include "libavcodec/avcodec.h"
-#include "libavcodec/dsputil.h"
-
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
 #endif
@@ -58,6 +52,12 @@
 #include "vf.h"
 #include "libvo/fastmemcpy.h"
 
+#include "libavutil/internal.h"
+#include "libavutil/intreadwrite.h"
+#include "libavutil/mem.h"
+#include "libavcodec/avcodec.h"
+#include "libavcodec/dsputil.h"
+
 #undef free
 #undef malloc
 



More information about the MPlayer-cvslog mailing list