diff options
author | Max Kellermann <max@duempel.org> | 2009-02-18 18:18:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-18 18:18:25 +0100 |
commit | 47e3eab8722a9a131b40e86a315c692e806d73b1 (patch) | |
tree | 73be41631b156d17b43d906a498b3e7af2ac3746 /src | |
parent | 9d2f16d8272498f0c4b641ccfc493c849f558a5f (diff) | |
download | mpd-47e3eab8722a9a131b40e86a315c692e806d73b1.tar.gz mpd-47e3eab8722a9a131b40e86a315c692e806d73b1.tar.xz mpd-47e3eab8722a9a131b40e86a315c692e806d73b1.zip |
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')
-rw-r--r-- | src/decoder/mp4ff_plugin.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/decoder/mp4ff_plugin.c b/src/decoder/mp4ff_plugin.c index d2734207f..26dbda89a 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 }; |