flac: call flac_process_metadata() for ogg files

The flac plugin wasn't initialized properly when an OGG file was being
decoded.  For some reason, flac_process_metadata() was explicitly not
called for OGG files.  Since that seems to fix the issue, make it
always call flac_process_metadata().
This commit is contained in:
Max Kellermann 2008-11-10 14:49:34 +01:00
parent 0e87f85598
commit 23a4ce4444

View File

@ -335,10 +335,11 @@ flac_decode_internal(struct decoder * decoder, struct input_stream *inStream,
err = "doing init()";
goto fail;
}
if (!flac_process_metadata(flacDec)) {
err = "problem reading metadata";
goto fail;
}
}
if (!flac_process_metadata(flacDec)) {
err = "problem reading metadata";
goto fail;
}
decoder_initialized(decoder, &data.audio_format,