Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-01-14 06:59:35 +0300
committerMichael Niedermayer <michaelni@gmx.at>2011-01-20 02:59:30 +0300
commit3be78f7ecdbfaed8d4c9760676eb6d92ab600e38 (patch)
treef373a189667b4abbdd08ad9350914d9f8ca533a0 /libavfilter/libmpcodecs/mp_image.h
parent8e45c103e9578abfa52c7bd85ec75b288d151e54 (diff)
Hack libmpcodecs to make it buildable.
Diffstat (limited to 'libavfilter/libmpcodecs/mp_image.h')
-rw-r--r--libavfilter/libmpcodecs/mp_image.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavfilter/libmpcodecs/mp_image.h b/libavfilter/libmpcodecs/mp_image.h
index 7c56880bb6..02c78482a2 100644
--- a/libavfilter/libmpcodecs/mp_image.h
+++ b/libavfilter/libmpcodecs/mp_image.h
@@ -22,7 +22,17 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#undef printf //FIXME
+#undef fprintf //FIXME
#include "mp_msg.h"
+#include "libavutil/avutil.h"
+#include "libavutil/avassert.h"
+#undef realloc
+#undef malloc
+#undef free
+#undef rand
+#undef srand
+#undef printf
//--------- codec's requirements (filled by the codec/vf) ---------