Undefine the macro which defines fprintf as please_use_av_log so that
authorJonY <10walls@gmail.com>
Sat, 6 Sep 2008 07:07:07 +0000 (07:07 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 6 Sep 2008 07:07:07 +0000 (07:07 +0000)
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
vhook/ppm.c

index 0e79eac..bd05b98 100644 (file)
@@ -48,6 +48,7 @@
 #include "libavformat/framehook.h"
 #include "libavcodec/dsputil.h"
 #include "libswscale/swscale.h"
+#undef fprintf
 
 static int sws_flags = SWS_BICUBIC;
 
index d9986c8..0e37ac4 100644 (file)
@@ -29,6 +29,7 @@
 #include "libavformat/framehook.h"
 #include "libavformat/avformat.h"
 #include "libswscale/swscale.h"
+#undef fprintf
 
 static int sws_flags = SWS_BICUBIC;