comparison smc.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 1514fd5d434b
children 39ad6cd5d4a6
comparison
equal deleted inserted replaced
1822:7366bb5c363f 1823:a660ef952580
33 #include <unistd.h> 33 #include <unistd.h>
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
39 #define printf(...) {} //(f)printf() usage is forbidden in libavcodec, use av_log
40 #define fprintf(...) {}
38 41
39 #define CPAIR 2 42 #define CPAIR 2
40 #define CQUAD 4 43 #define CQUAD 4
41 #define COCTET 8 44 #define COCTET 8
42 45