summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
authorJonY <10walls@gmail.com>2008-09-06 07:07:07 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-09-06 07:07:07 +0000
commitb359a90f95c314f34ed28924c0bc07b6d971df3f (patch)
treecd22eaf0c51bc19989b5dfff0ba78dd3f4005c56 /vhook
parent92d04e765e3109a5ecae3fd30bee738f35f6c95a (diff)
Undefine the macro which defines fprintf as please_use_av_log so that
fprintf can be used for printing to file. Patch by JonY <10walls __AT__ gmail @@dot@@ com> Originally committed as revision 15220 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/fish.c1
-rw-r--r--vhook/ppm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/vhook/fish.c b/vhook/fish.c
index 0e79eacc3b..bd05b987b4 100644
--- a/vhook/fish.c
+++ b/vhook/fish.c
@@ -48,6 +48,7 @@
#include "libavformat/framehook.h"
#include "libavcodec/dsputil.h"
#include "libswscale/swscale.h"
+#undef fprintf
static int sws_flags = SWS_BICUBIC;
diff --git a/vhook/ppm.c b/vhook/ppm.c
index d9986c81fb..0e37ac412e 100644
--- a/vhook/ppm.c
+++ b/vhook/ppm.c
@@ -29,6 +29,7 @@
#include "libavformat/framehook.h"
#include "libavformat/avformat.h"
#include "libswscale/swscale.h"
+#undef fprintf
static int sws_flags = SWS_BICUBIC;