diff options
Diffstat (limited to 'src/combined/flac_demuxer.c')
-rw-r--r-- | src/combined/flac_demuxer.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/combined/flac_demuxer.c b/src/combined/flac_demuxer.c index 0685631c7..7b4ed3c95 100644 --- a/src/combined/flac_demuxer.c +++ b/src/combined/flac_demuxer.c @@ -101,13 +101,17 @@ typedef struct demux_flac_class_s { static #ifdef LEGACY_FLAC FLAC__SeekableStreamDecoderReadStatus +flac_read_callback (const FLAC__SeekableStreamDecoder *decoder, + FLAC__byte buffer[], + unsigned *bytes, + void *client_data) #else FLAC__StreamDecoderReadStatus -#endif flac_read_callback (const FLAC__SeekableStreamDecoder *decoder, FLAC__byte buffer[], - unsigned *bytes, + size_t *bytes, void *client_data) +#endif { demux_flac_t *this = (demux_flac_t *)client_data; input_plugin_t *input = this->input; |