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.
This commit is contained in:
parent
9d2f16d827
commit
47e3eab872
@ -323,7 +323,7 @@ mp4_decode(struct decoder *mpd_decoder, struct input_stream *input_stream)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct tag *
|
static struct tag *
|
||||||
mp4_load_tag(const char *file)
|
mp4_tag_dup(const char *file)
|
||||||
{
|
{
|
||||||
struct tag *ret = NULL;
|
struct tag *ret = NULL;
|
||||||
struct input_stream input_stream;
|
struct input_stream input_stream;
|
||||||
@ -405,12 +405,6 @@ mp4_load_tag(const char *file)
|
|||||||
return ret;
|
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_suffixes[] = { "m4a", "mp4", NULL };
|
||||||
static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL };
|
static const char *const mp4_mime_types[] = { "audio/mp4", "audio/m4a", NULL };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user