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
8ddc4155
Commit
8ddc4155
authored
Jun 10, 2015
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avdevice/openal-dec: Make al_format_info const
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
9e40bd50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
openal-dec.c
libavdevice/openal-dec.c
+2
-2
No files found.
libavdevice/openal-dec.c
View file @
8ddc4155
...
...
@@ -60,9 +60,9 @@ typedef struct {
* @param al_fmt the AL_FORMAT value to find information about.
* @return A pointer to a structure containing information about the AL_FORMAT value.
*/
static
inline
al_format_info
*
get_al_format_info
(
ALCenum
al_fmt
)
static
const
inline
al_format_info
*
get_al_format_info
(
ALCenum
al_fmt
)
{
static
al_format_info
info_table
[]
=
{
static
const
al_format_info
info_table
[]
=
{
[
AL_FORMAT_MONO8
-
LOWEST_AL_FORMAT
]
=
{
AL_FORMAT_MONO8
,
AV_CODEC_ID_PCM_U8
,
1
},
[
AL_FORMAT_MONO16
-
LOWEST_AL_FORMAT
]
=
{
AL_FORMAT_MONO16
,
AV_NE
(
AV_CODEC_ID_PCM_S16BE
,
AV_CODEC_ID_PCM_S16LE
),
1
},
[
AL_FORMAT_STEREO8
-
LOWEST_AL_FORMAT
]
=
{
AL_FORMAT_STEREO8
,
AV_CODEC_ID_PCM_U8
,
2
},
...
...
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