changeset 24974:6f05850b5fd1

Rearrange headers to get rid of an #undef and remove unnecessary headers.
author diego
date Fri, 09 Nov 2007 15:44:47 +0000
parents aff04d7af1e1
children 72466750cdcd
files libmpcodecs/vf_qp.c
diffstat 1 files changed, 4 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_qp.c	Fri Nov 09 15:39:08 2007 +0000
+++ b/libmpcodecs/vf_qp.c	Fri Nov 09 15:44:47 2007 +0000
@@ -26,29 +26,20 @@
 
 #include "mp_msg.h"
 #include "cpudetect.h"
+#include "img_format.h"
+#include "mp_image.h"
+#include "vf.h"
+#include "libvo/fastmemcpy.h"
 
 // Needed to bring in lrintf.
 #define HAVE_AV_CONFIG_H
-
 #include "libavcodec/avcodec.h"
-#include "libavcodec/dsputil.h"
 #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
 
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
 #endif
 
-#include "img_format.h"
-#include "mp_image.h"
-#include "vf.h"
-#include "libvo/fastmemcpy.h"
-
 
 struct vf_priv_s {
 	char eq[200];