Revision a955b596 libavutil/common.h

View differences:

libavutil/common.h
90 90
#   include "intmath.h"
91 91
#endif
92 92

  
93
#ifndef av_log2
94
#   define av_log2       av_log2_c
95
#endif
96
#ifndef av_log2_16bit
97
#   define av_log2_16bit av_log2_16bit_c
98
#endif
93
/* Pull in unguarded fallback defines at the end of this file. */
94
#include "common.h"
99 95

  
100 96
/**
101 97
 * Clip a signed integer value into the amin-amax range.
......
312 308
#endif /* HAVE_AV_CONFIG_H */
313 309

  
314 310
#endif /* AVUTIL_COMMON_H */
311

  
312
/*
313
 * The following definitions are outside the multiple inclusion guard
314
 * to ensure they are immediately available in intmath.h.
315
 */
316

  
317
#ifndef av_log2
318
#   define av_log2       av_log2_c
319
#endif
320
#ifndef av_log2_16bit
321
#   define av_log2_16bit av_log2_16bit_c
322
#endif

Also available in: Unified diff