From 70ad9842a5d0d685080d4e61243554dfad6dc00e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sun, 10 Apr 2011 21:22:45 +0200 Subject: [PATCH] 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 --- libavformat/timefilter.c | 2 ++ 1 file changed, 2 insertions(+) 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;