From 9c1d1ef2687050d7e0f9dd51d7e06d79321cda74 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 2 Oct 2012 11:43:26 +0200 Subject: decoder/flac: eliminate the obsolete "track number" code This has been deprecated by the "embcue" playlist plugin. --- src/decoder/FLACDecoderPlugin.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/decoder/FLACDecoderPlugin.cxx') diff --git a/src/decoder/FLACDecoderPlugin.cxx b/src/decoder/FLACDecoderPlugin.cxx index 0b543ea65..d541e6990 100644 --- a/src/decoder/FLACDecoderPlugin.cxx +++ b/src/decoder/FLACDecoderPlugin.cxx @@ -176,7 +176,7 @@ static bool flac_scan_file(const char *file, const struct tag_handler *handler, void *handler_ctx) { - return flac_scan_file2(file, nullptr, handler, handler_ctx); + return flac_scan_file2(file, handler, handler_ctx); } /** @@ -382,8 +382,7 @@ oggflac_scan_file(const char *file, if (!(block = FLAC__metadata_iterator_get_block(it))) break; - flac_scan_metadata(nullptr, block, - handler, handler_ctx); + flac_scan_metadata(block, handler, handler_ctx); } while (FLAC__metadata_iterator_next(it)); FLAC__metadata_iterator_delete(it); -- cgit v1.2.3