Revision 89493e10 libavutil/bswap.h

View differences:

libavutil/bswap.h
30 30
#include "config.h"
31 31
#include "common.h"
32 32

  
33
#ifdef HAVE_BYTESWAP_H
34
#include <byteswap.h>
35
#else
36

  
37 33
static av_always_inline av_const uint16_t bswap_16(uint16_t x)
38 34
{
39 35
#if defined(ARCH_X86)
......
108 104
#endif
109 105
}
110 106

  
111
#endif  /* !HAVE_BYTESWAP_H */
112

  
113 107
// be2me ... BigEndian to MachineEndian
114 108
// le2me ... LittleEndian to MachineEndian
115 109

  

Also available in: Unified diff