aboutsummaryrefslogtreecommitdiff
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-18 18:18:25 +0100
committerMax Kellermann <max@duempel.org>2009-02-18 18:18:25 +0100
commit47e3eab8722a9a131b40e86a315c692e806d73b1 (patch)
tree73be41631b156d17b43d906a498b3e7af2ac3746 /src/decoder
parent9d2f16d8272498f0c4b641ccfc493c849f558a5f (diff)
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.
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/mp4ff_plugin.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c
index d2734207..26dbda89 100644
--- a/src/decoder/mp4ff_plugin.c
+++ b/src/decoder/mp4ff_plugin.c
@@ -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 };