libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit f464d65231442f9e6b90220b4c09f04db07a47ae
parent fc1bfa3c3b7066f17d67c77a89b9d963e4041819
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 30 Dec 2007 02:39:25 +0000

fix

Diffstat:
Msrc/plugins/flacextractor.c | 22++++++++++------------
1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/src/plugins/flacextractor.c b/src/plugins/flacextractor.c @@ -173,8 +173,6 @@ flac_metadata(const FLAC__StreamDecoder *decoder, const FLAC__StreamMetadata *me { struct Context * ctx = client_data; - fprintf(stderr, - "Meta!\n"); switch (metadata->type) { case FLAC__METADATA_TYPE_STREAMINFO: @@ -286,16 +284,16 @@ libextractor_flac_extract (const char *filename, le_cls.data = data; le_cls.pos = 0; if (FLAC__STREAM_DECODER_INIT_STATUS_OK != - FLAC__stream_decoder_init_ogg_stream(decoder, - &flac_read, - &flac_seek, - &flac_tell, - &flac_length, - &flac_eof, - &flac_write, - &flac_metadata, - &flac_error, - &le_cls)) + FLAC__stream_decoder_init_stream(decoder, + &flac_read, + &flac_seek, + &flac_tell, + &flac_length, + &flac_eof, + &flac_write, + &flac_metadata, + &flac_error, + &le_cls)) { FLAC__stream_decoder_delete(decoder); return le_cls.prev;