Browse code

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>

Diego Biurrun authored on 2011/04/11 04:22:45
Showing 1 changed files
... ...
@@ -79,6 +79,8 @@ double ff_timefilter_update(TimeFilter *self, double system_time, double period)
79 79
 #include "libavutil/lfg.h"
80 80
 #define LFG_MAX ((1LL << 32) - 1)
81 81
 
82
+#undef printf
83
+
82 84
 int main(void)
83 85
 {
84 86
     AVLFG prng;