Revision 1845bf1f libavutil/common.h

View differences:

libavutil/common.h
26 26
#ifndef COMMON_H
27 27
#define COMMON_H
28 28

  
29
#include <inttypes.h>
30

  
29 31
#ifdef HAVE_AV_CONFIG_H
30 32
/* only include the following when compiling package */
31 33
#    include "config.h"
......
41 43
#        include "berrno.h"
42 44
#    endif
43 45
#    include <math.h>
46
#    include "internal.h"
44 47
#endif /* HAVE_AV_CONFIG_H */
45 48

  
46 49
#ifndef attribute_deprecated
......
51 54
#endif
52 55
#endif
53 56

  
54
#   include <inttypes.h>
55

  
56 57
#ifndef INT64_C
57 58
#define INT64_C(c)     (c ## LL)
58 59
#define UINT64_C(c)    (c ## ULL)
59 60
#endif
60 61

  
61
#ifdef HAVE_AV_CONFIG_H
62
/* only include the following when compiling package */
63
#    include "internal.h"
64
#endif
65

  
66 62
//rounded divison & shift
67 63
#define RSHIFT(a,b) ((a) > 0 ? ((a) + ((1<<(b))>>1))>>(b) : ((a) + ((1<<(b))>>1)-1)>>(b))
68 64
/* assume b>0 */

Also available in: Unified diff