changeset 24738:45189040161d

Reorder #includes to get rid of the FIXME
author zuxy
date Fri, 12 Oct 2007 03:17:43 +0000
parents 90302c23df72
children 1c09a39f755a
files libmpcodecs/vf_geq.c
diffstat 1 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_geq.c	Fri Oct 12 03:14:11 2007 +0000
+++ b/libmpcodecs/vf_geq.c	Fri Oct 12 03:17:43 2007 +0000
@@ -27,6 +27,10 @@
 #include "mp_msg.h"
 #include "cpudetect.h"
 
+#include "img_format.h"
+#include "mp_image.h"
+#include "vf.h"
+
 // Needed to bring in lrintf.
 #define HAVE_AV_CONFIG_H
 
@@ -35,16 +39,6 @@
 #include "libavcodec/eval.h"
 #include "libavutil/common.h"
 
-/* FIXME: common.h defines fprintf away when HAVE_AV_CONFIG
- * is defined, but mp_image.h needs fprintf.
- */
-#undef fprintf
-
-#include "img_format.h"
-#include "mp_image.h"
-#include "vf.h"
-
-
 struct vf_priv_s {
     AVEvalExpr * e[3];
     int framenum;