From 47e3eab8722a9a131b40e86a315c692e806d73b1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 18 Feb 2009 18:18:25 +0100 Subject: 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. --- src/decoder/mp4ff_plugin.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/decoder') 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 }; -- cgit v1.2.3