decoder/flac: remove unused function flac_tag_load()

This commit is contained in:
Max Kellermann 2012-10-02 11:39:10 +02:00
parent cbdd042adc
commit e5fd1924db
2 changed files with 0 additions and 17 deletions

View File

@ -306,17 +306,3 @@ flac_scan_file2(const char *file, const char *char_tnum,
return true; 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;
}

View File

@ -58,7 +58,4 @@ bool
flac_scan_file2(const char *file, const char *char_tnum, flac_scan_file2(const char *file, const char *char_tnum,
const struct tag_handler *handler, void *handler_ctx); const struct tag_handler *handler, void *handler_ctx);
struct tag *
flac_tag_load(const char *file, const char *char_tnum);
#endif #endif