diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-02-22 00:31:19 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-02-22 00:31:19 +0000 |
commit | d705e4a6bb6d052f4054886511bf0adb518d72c4 (patch) | |
tree | 71dc66fde545184d9bc6bd450b640a89becb0746 /libavcodec/truemotion1.c | |
parent | 2092bd7531f30b07f1188b2a28cf67a42d4bd8e4 (diff) | |
download | ffmpeg-d705e4a6bb6d052f4054886511bf0adb518d72c4.tar.gz |
(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/truemotion1.c')
-rw-r--r-- | libavcodec/truemotion1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/truemotion1.c b/libavcodec/truemotion1.c index ebd0ad5229..b0a8562ad7 100644 --- a/libavcodec/truemotion1.c +++ b/libavcodec/truemotion1.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(...) {} + #include "truemotion1data.h" #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) |