From cb43114b6300f11b7777d7905e835ea407bc94bf Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Mon, 10 Sep 2007 05:30:52 +0000 Subject: [PATCH] fixed bug compiling flac without ogg support (SF#1760786: http://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid --- src/flac/decode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flac/decode.c b/src/flac/decode.c index 67aff01..1e537c0 100644 --- a/src/flac/decode.c +++ b/src/flac/decode.c @@ -276,6 +276,8 @@ FLAC__bool DecoderSession_construct(DecoderSession *d, FLAC__bool is_ogg, FLAC__ d->serial_number = serial_number; #else (void)is_ogg; + (void)use_first_serial_number; + (void)serial_number; #endif d->is_aiff_out = is_aiff_out; @@ -389,8 +391,6 @@ FLAC__bool DecoderSession_init_decoder(DecoderSession *decoder_session, const ch init_status = FLAC__stream_decoder_init_ogg_file(decoder_session->decoder, strcmp(infilename, "-")? infilename : 0, write_callback, metadata_callback, error_callback, /*client_data=*/decoder_session); } else -#else - (void)decode_options; #endif { init_status = FLAC__stream_decoder_init_file(decoder_session->decoder, strcmp(infilename, "-")? infilename : 0, write_callback, metadata_callback, error_callback, /*client_data=*/decoder_session); -- 2.7.4