Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
d10458c9
Commit
d10458c9
authored
Feb 18, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add alias-safe union typedefs
Originally committed as revision 21877 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
024bf79f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
intreadwrite.h
libavutil/intreadwrite.h
+22
-0
No files found.
libavutil/intreadwrite.h
View file @
d10458c9
...
...
@@ -22,6 +22,28 @@
#include <stdint.h>
#include "config.h"
#include "bswap.h"
#include "common.h"
typedef
union
{
uint64_t
u64
;
uint32_t
u32
[
2
];
uint16_t
u16
[
4
];
uint8_t
u8
[
8
];
double
f64
;
float
f32
[
2
];
}
av_alias
av_alias64
;
typedef
union
{
uint32_t
u32
;
uint16_t
u16
[
2
];
uint8_t
u8
[
4
];
float
f32
;
}
av_alias
av_alias32
;
typedef
union
{
uint16_t
u16
;
uint8_t
u8
[
2
];
}
av_alias
av_alias16
;
/*
* Arch-specific headers can provide any combination of
...
...
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