Commit 54e4492d authored by glantau's avatar glantau

moved in libavcodec


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@594 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8452873d
#ifndef __BSWAP_H__
#define __BSWAP_H__
/* It's need for ffmpeg. Else where will be defined ARCH_X86?*/
#include "config.h"
#ifdef HAVE_BYTESWAP_H
#include <byteswap.h>
#else
#include <inttypes.h>
#ifdef ARCH_X86
inline static unsigned short ByteSwap16(unsigned short x)
{
......@@ -88,4 +83,4 @@ inline static unsigned long long int ByteSwap64(unsigned long long int x)
#define le2me_64(x) (x)
#endif
#endif
#endif /* __BSWAP_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment