Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
b17c92d1
Commit
b17c92d1
authored
22 years ago
by
Fabrice Bellard
Browse files
Options
Downloads
Patches
Plain Diff
moved in libavcodec
Originally committed as revision 594 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
19720f15
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavcodec/bswap.h
+1
-6
1 addition, 6 deletions
libavcodec/bswap.h
with
1 addition
and
6 deletions
bswap.h
→
libavcodec/
bswap.h
+
1
−
6
View file @
b17c92d1
#ifndef __BSWAP_H__
#ifndef __BSWAP_H__
#define __BSWAP_H__
#define __BSWAP_H__
/* It's need for ffmpeg. Else where will be defined ARCH_X86?*/
#include
"config.h"
#ifdef HAVE_BYTESWAP_H
#ifdef HAVE_BYTESWAP_H
#include
<byteswap.h>
#include
<byteswap.h>
#else
#else
#include
<inttypes.h>
#ifdef ARCH_X86
#ifdef ARCH_X86
inline
static
unsigned
short
ByteSwap16
(
unsigned
short
x
)
inline
static
unsigned
short
ByteSwap16
(
unsigned
short
x
)
{
{
...
@@ -88,4 +83,4 @@ inline static unsigned long long int ByteSwap64(unsigned long long int x)
...
@@ -88,4 +83,4 @@ inline static unsigned long long int ByteSwap64(unsigned long long int x)
#define le2me_64(x) (x)
#define le2me_64(x) (x)
#endif
#endif
#endif
#endif
/* __BSWAP_H__ */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment