summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_fspp.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@mplayer2.org>2011-12-31 04:33:12 +0200
committerUoti Urpala <uau@mplayer2.org>2012-01-02 06:15:52 +0200
commitc32b3edfea3c4832f16a7cbcba4f8284170b3170 (patch)
treec2074cb5d3067cd574a1cec1fccb54e1362a6888 /libmpcodecs/vf_fspp.c
parent30afc64532ff61577f6fa9d427f6803a00f2ad37 (diff)
downloadmpv-c32b3edfea3c4832f16a7cbcba4f8284170b3170.tar.bz2
mpv-c32b3edfea3c4832f16a7cbcba4f8284170b3170.tar.xz
vf_fspp: make compile without Libav internals
Make vf_fspp compile without using internal Libav/FFmpeg files and compile it by default.
Diffstat (limited to 'libmpcodecs/vf_fspp.c')
-rw-r--r--libmpcodecs/vf_fspp.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/libmpcodecs/vf_fspp.c b/libmpcodecs/vf_fspp.c
index e7e3af8310..da54892fb1 100644
--- a/libmpcodecs/vf_fspp.c
+++ b/libmpcodecs/vf_fspp.c
@@ -38,6 +38,10 @@
#include <inttypes.h>
#include <math.h>
+#include <libavutil/intreadwrite.h>
+#include <libavutil/mem.h>
+#include <libavcodec/avcodec.h>
+
#include "config.h"
#include "mp_msg.h"
@@ -46,15 +50,9 @@
#include "mp_image.h"
#include "vf.h"
#include "libvo/fastmemcpy.h"
+#include "mangle.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
+typedef short DCTELEM;
//===========================================================================//
#define BLOCKSZ 12