diff options
author | Max Kellermann <max@duempel.org> | 2012-10-02 11:39:10 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2012-10-02 11:39:10 +0200 |
commit | e5fd1924dba9bcf2a296fa16561e00d72cb0bc00 (patch) | |
tree | b508e47b249efc67f749dd9ec11d462cc36c7bbc | |
parent | cbdd042adc8131c4ef890195447760d229eb1f87 (diff) | |
download | mpd-e5fd1924dba9bcf2a296fa16561e00d72cb0bc00.tar.gz mpd-e5fd1924dba9bcf2a296fa16561e00d72cb0bc00.tar.xz mpd-e5fd1924dba9bcf2a296fa16561e00d72cb0bc00.zip |
decoder/flac: remove unused function flac_tag_load()
-rw-r--r-- | src/decoder/FLACMetaData.cxx | 14 | ||||
-rw-r--r-- | src/decoder/FLACMetaData.hxx | 3 |
2 files changed, 0 insertions, 17 deletions
diff --git a/src/decoder/FLACMetaData.cxx b/src/decoder/FLACMetaData.cxx index d6ddb6cb0..b1d82a93d 100644 --- a/src/decoder/FLACMetaData.cxx +++ b/src/decoder/FLACMetaData.cxx @@ -306,17 +306,3 @@ flac_scan_file2(const char *file, const char *char_tnum, return true; } - -struct tag * -flac_tag_load(const char *file, const char *char_tnum) -{ - struct tag *tag = tag_new(); - - if (!flac_scan_file2(file, char_tnum, &add_tag_handler, tag) || - tag_is_empty(tag)) { - tag_free(tag); - tag = nullptr; - } - - return tag; -} diff --git a/src/decoder/FLACMetaData.hxx b/src/decoder/FLACMetaData.hxx index ac75a4af8..1dbdc9a88 100644 --- a/src/decoder/FLACMetaData.hxx +++ b/src/decoder/FLACMetaData.hxx @@ -58,7 +58,4 @@ bool flac_scan_file2(const char *file, const char *char_tnum, const struct tag_handler *handler, void *handler_ctx); -struct tag * -flac_tag_load(const char *file, const char *char_tnum); - #endif |