Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
118495d3
Commit
118495d3
authored
Nov 10, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/flac: pass void pointer to flac_convert()
That function diverts into various bit formats; it doesn't need a typed pointer.
parent
a6bee71f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
_flac_common.c
src/decoder/_flac_common.c
+5
-5
No files found.
src/decoder/_flac_common.c
View file @
118495d3
...
...
@@ -290,11 +290,11 @@ flac_convert_8(int8_t *dest,
*
dest
++
=
buf
[
c_chan
][
position
];
}
static
void
flac_convert
(
unsigned
char
*
dest
,
unsigned
int
num_channels
,
unsigned
sample_format
,
const
FLAC__int32
*
const
buf
[],
unsigned
int
position
,
unsigned
int
end
)
static
void
flac_convert
(
void
*
dest
,
unsigned
int
num_channels
,
unsigned
sample_format
,
const
FLAC__int32
*
const
buf
[],
unsigned
int
position
,
unsigned
int
end
)
{
switch
(
sample_format
)
{
case
16
:
...
...
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