Mercurial > libavcodec.hg
comparison vmdav.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 | 6a7e68899d8a |
children | 5456ab242388 |
comparison
equal
deleted
inserted
replaced
1822:7366bb5c363f | 1823:a660ef952580 |
---|---|
42 #include <unistd.h> | 42 #include <unistd.h> |
43 | 43 |
44 #include "common.h" | 44 #include "common.h" |
45 #include "avcodec.h" | 45 #include "avcodec.h" |
46 #include "dsputil.h" | 46 #include "dsputil.h" |
47 | |
48 #define printf(...) {} //(f)printf() usage is forbidden in libavcodec, use av_log | |
49 #define fprintf(...) {} | |
47 | 50 |
48 #define VMD_HEADER_SIZE 0x330 | 51 #define VMD_HEADER_SIZE 0x330 |
49 #define PALETTE_COUNT 256 | 52 #define PALETTE_COUNT 256 |
50 | 53 |
51 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) | 54 #define LE_16(x) ((((uint8_t*)(x))[1] << 8) | ((uint8_t*)(x))[0]) |