]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp4.h
mp4: Replace the five tag value functions by a single one.
[paraslash.git] / mp4.h
diff --git a/mp4.h b/mp4.h
index 243b75ca369e988b84083853829ef2c24bb4d424..0775956bdff2fae0c2cbd8e432bdf94cbf6a9dcd 100644 (file)
--- a/mp4.h
+++ b/mp4.h
@@ -30,8 +30,4 @@ uint64_t mp4_get_duration(const struct mp4 *f);
 int mp4_open_meta(const struct mp4_callback *cb, struct mp4 **result);
 struct mp4_metadata *mp4_get_meta(struct mp4 *f);
 int mp4_meta_update(struct mp4 *f);
-char *mp4_meta_get_artist(const struct mp4 *f);
-char *mp4_meta_get_title(const struct mp4 *f);
-char *mp4_meta_get_date(const struct mp4 *f);
-char *mp4_meta_get_album(const struct mp4 *f);
-char *mp4_meta_get_comment(const struct mp4 *f);
+char *mp4_get_tag_value(const struct mp4 *f, const char *item);