# HG changeset patch # User diego # Date 1194623087 0 # Node ID 6f05850b5fd179f0985bb050d50ad75f81d6e803 # Parent aff04d7af1e1544368bf44ddec3da364fcab5ac1 Rearrange headers to get rid of an #undef and remove unnecessary headers. diff -r aff04d7af1e1 -r 6f05850b5fd1 libmpcodecs/vf_qp.c --- 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 #endif -#include "img_format.h" -#include "mp_image.h" -#include "vf.h" -#include "libvo/fastmemcpy.h" - struct vf_priv_s { char eq[200];