aboutsummaryrefslogtreecommitdiff
path: root/src/decoder/FLACDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-10-02 11:43:26 +0200
committerMax Kellermann <max@duempel.org>2012-10-02 17:36:54 +0200
commit9c1d1ef2687050d7e0f9dd51d7e06d79321cda74 (patch)
treef0d9870c6b135bccde4f0c3f1706e46aaf95f4c3 /src/decoder/FLACDecoderPlugin.cxx
parentade04836419cadeae3a831575c53f76019ca5ae8 (diff)
decoder/flac: eliminate the obsolete "track number" code
This has been deprecated by the "embcue" playlist plugin.
Diffstat (limited to 'src/decoder/FLACDecoderPlugin.cxx')
-rw-r--r--src/decoder/FLACDecoderPlugin.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/decoder/FLACDecoderPlugin.cxx b/src/decoder/FLACDecoderPlugin.cxx
index 0b543ea6..d541e699 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);