diff truemotion1.c @ 1823:a660ef952580 libavcodec

(f)printf() is disallowed in libavcodec, compilation will fail now if its used, except that codecs which where added after the printf->av_log change which did ignore av_log() and used prinf are now silent and wont print anything, they should be changed to use av_log, i could do that, but its better if the orginal developer decides which AV_LOG level each message should get
author michael
date Sun, 22 Feb 2004 00:31:19 +0000
parents 1c123e036890
children 39ad6cd5d4a6
line wrap: on
line diff
--- a/truemotion1.c	Thu Feb 19 20:29:26 2004 +0000
+++ b/truemotion1.c	Sun Feb 22 00:31:19 2004 +0000
@@ -36,6 +36,9 @@
 #include "avcodec.h"
 #include "dsputil.h"
 
+#define printf(...) {} //(f)printf() usage is forbidden in libavcodec, use av_log
+#define fprintf(...) {} 
+
 #include "truemotion1data.h"
 
 #define LE_16(x)  ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0])