Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1822:7366bb5c363f | 1823:a660ef952580 |
---|---|
34 | 34 |
35 #include "common.h" | 35 #include "common.h" |
36 #include "avcodec.h" | 36 #include "avcodec.h" |
37 #include "dsputil.h" | 37 #include "dsputil.h" |
38 | 38 |
39 #define printf(...) {} //(f)printf() usage is forbidden in libavcodec, use av_log | |
40 #define fprintf(...) {} | |
41 | |
39 #include "truemotion1data.h" | 42 #include "truemotion1data.h" |
40 | 43 |
41 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) | 44 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) |
42 | 45 |
43 typedef struct TrueMotion1Context { | 46 typedef struct TrueMotion1Context { |