[FFmpeg-cvslog] fourcc2pixfmt: fix compilation

Michael Niedermayer git at videolan.org
Wed Oct 24 22:29:37 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Oct 24 22:19:46 2012 +0200| [f68ff2e0e79c17b906f883513fb6c0661e5e0ad6] | committer: Michael Niedermayer

fourcc2pixfmt: fix compilation

If someone finds a cleaner fix, dont hesitate to revert this!

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f68ff2e0e79c17b906f883513fb6c0661e5e0ad6
---

 tools/fourcc2pixfmt.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/fourcc2pixfmt.c b/tools/fourcc2pixfmt.c
index 8ea6c37..77cb0b6 100644
--- a/tools/fourcc2pixfmt.c
+++ b/tools/fourcc2pixfmt.c
@@ -28,6 +28,9 @@
 #include "libavutil/common.h"
 #include "libavcodec/raw.h"
 
+#undef printf
+#undef fprintf
+
 #if !HAVE_GETOPT
 #include "compat/getopt.c"
 #endif



More information about the ffmpeg-cvslog mailing list