summaryrefslogtreecommitdiff
path: root/libavcodec/smc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-02-22 00:31:19 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-02-22 00:31:19 +0000
commitd705e4a6bb6d052f4054886511bf0adb518d72c4 (patch)
tree71dc66fde545184d9bc6bd450b640a89becb0746 /libavcodec/smc.c
parent2092bd7531f30b07f1188b2a28cf67a42d4bd8e4 (diff)
(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
Originally committed as revision 2806 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/smc.c')
-rw-r--r--libavcodec/smc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/smc.c b/libavcodec/smc.c
index be02b162d8..2f6f3850a2 100644
--- a/libavcodec/smc.c
+++ b/libavcodec/smc.c
@@ -36,6 +36,9 @@
#include "avcodec.h"
#include "dsputil.h"
+#define printf(...) {} //(f)printf() usage is forbidden in libavcodec, use av_log
+#define fprintf(...) {}
+
#define CPAIR 2
#define CQUAD 4
#define COCTET 8