diff --git a/src/libflac/stream_decoder.c b/src/libflac/stream_decoder.c index a00191e..a8f1b95 100644 --- a/src/libflac/stream_decoder.c +++ b/src/libflac/stream_decoder.c @@ -547,7 +547,7 @@ static FLAC__StreamDecoderInitStatus init_FILE_internal_( is_ogg ); } -#endif + FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_FILE( FLAC__StreamDecoder *decoder, FILE *file, @@ -559,7 +559,7 @@ FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_FILE( { return init_FILE_internal_(decoder, file, write_callback, metadata_callback, error_callback, client_data, /*is_ogg=*/false); } - +#endif FLAC_API FLAC__StreamDecoderInitStatus FLAC__stream_decoder_init_ogg_FILE( FLAC__StreamDecoder *decoder, FILE *file, diff --git a/src/libtinysoundfont/tsf.h b/src/libtinysoundfont/tsf.h index 2a8147c..be47f66 100644 --- a/src/libtinysoundfont/tsf.h +++ b/src/libtinysoundfont/tsf.h @@ -298,8 +298,8 @@ struct tsf struct tsf_preset* presets; struct tsf_voice* voices; - int fontSamplesOffset; - int fontSampleCount; + unsigned int fontSamplesOffset; + unsigned int fontSampleCount; struct tsf_channels* channels; float* outputSamples;