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