Commit 47e3eab8 authored by Max Kellermann's avatar Max Kellermann

mp4ff: merged mp4_load_tag() into mp4_tag_dup()

The function mp4_load_tag() is used only once, and mp4_tag_dup() is a one-liner. Merge them.
parent 9d2f16d8
......@@ -323,7 +323,7 @@ mp4_decode(struct decoder *mpd_decoder, struct input_stream *input_stream)
}
static struct tag *
mp4_load_tag(const char *file)
mp4_tag_dup(const char *file)
{
struct tag *ret = NULL;
struct input_stream input_stream;
......@@ -405,12 +405,6 @@ mp4_load_tag(const char *file)
return ret;
}
static struct tag *
mp4_tag_dup(const char *file)
{
return mp4_load_tag(file);
}
static const char *const mp4_suffixes[] = { "m4a", "mp4", NULL };
static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL };
......
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