Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
2857f114
Commit
2857f114
authored
May 01, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Spare one use of WORDS_BIGENDIAN from vlc_common.h
parent
b1f21a53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
include/vlc_common.h
include/vlc_common.h
+1
-11
No files found.
include/vlc_common.h
View file @
2857f114
...
...
@@ -149,17 +149,7 @@ typedef uint32_t vlc_fourcc_t;
static
inline
void
__vlc_fourcc_to_char
(
vlc_fourcc_t
fcc
,
char
*
psz_fourcc
)
{
#ifdef WORDS_BIGENDIAN
psz_fourcc
[
0
]
=
(
uint32_t
)
(
fcc
>>
24
);
psz_fourcc
[
1
]
=
(
uint32_t
)
(
fcc
>>
16
);
psz_fourcc
[
2
]
=
(
uint32_t
)
(
fcc
>>
8
);
psz_fourcc
[
3
]
=
(
uint32_t
)
(
fcc
);
#else
psz_fourcc
[
3
]
=
(
uint32_t
)
(
fcc
>>
24
);
psz_fourcc
[
2
]
=
(
uint32_t
)
(
fcc
>>
16
);
psz_fourcc
[
1
]
=
(
uint32_t
)
(
fcc
>>
8
);
psz_fourcc
[
0
]
=
(
uint32_t
)
(
fcc
);
#endif
memcpy
(
psz_fourcc
,
&
fcc
,
4
);
}
#define vlc_fourcc_to_char( a, b ) \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment