This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
moved in libavcodec
Originally committed as revision 594 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard
23 years ago
parent
19720f15fd
commit
b17c92d10e
1 changed files
with
1 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-6
libavcodec/bswap.h
bswap.h → libavcodec/bswap.h
View File
@@ -1,15 +1,10 @@
#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__ */
Write
Preview
Loading…
Cancel
Save