Commit cb43114b authored by Josh Coalson's avatar Josh Coalson

fixed bug compiling flac without ogg support (SF#1760786:...

fixed bug compiling flac without ogg support (SF#1760786: http://sourceforge.net/tracker/index.php?func=detail&aid=1760786&group_id=13478&atid
parent 9f742f6d
......@@ -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);
......
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