Commit e5fd1924 authored by Max Kellermann's avatar Max Kellermann

decoder/flac: remove unused function flac_tag_load()

parent cbdd042a
......@@ -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;
}
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment