diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-10 23:22:45 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-11 16:18:48 +0400 |
commit | 70ad9842a5d0d685080d4e61243554dfad6dc00e (patch) | |
tree | 61919bba33f0a3508548bbf9f34f419b10790e43 | |
parent | f502ff3f61dfdc7c4180b6a24cec6237c38bc148 (diff) |
Fix compilation of timefilter test program.
The printf function is forbidden in library code, but not in test programs,
so #undefine the printf macro that disables the system printf function.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r-- | libavformat/timefilter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/timefilter.c b/libavformat/timefilter.c index b08764768a..4860a4ff70 100644 --- a/libavformat/timefilter.c +++ b/libavformat/timefilter.c @@ -79,6 +79,8 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period) #include "libavutil/lfg.h" #define LFG_MAX ((1LL << 32) - 1) +#undef printf + int main(void) { AVLFG prng; |