From b359a90f95c314f34ed28924c0bc07b6d971df3f Mon Sep 17 00:00:00 2001 From: JonY <10walls@gmail.com> Date: Sat, 6 Sep 2008 07:07:07 +0000 Subject: [PATCH] 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 --- vhook/fish.c | 1 + vhook/ppm.c | 1 + 2 files changed, 2 insertions(+) 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;