Commit 118495d3 authored by Max Kellermann's avatar Max Kellermann

decoder/flac: pass void pointer to flac_convert()

That function diverts into various bit formats; it doesn't need a typed pointer.
parent a6bee71f
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment