]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp4.h
mp4: Simplify and speed up metadata editing.
[paraslash.git] / mp4.h
diff --git a/mp4.h b/mp4.h
index 7e9d24b81052878be666e5b7d096758f1407894e..71fd65d9459b18ea4f9b74da8ea8036c82435fa2 100644 (file)
--- a/mp4.h
+++ b/mp4.h
@@ -33,12 +33,10 @@ struct mp4 *mp4_open_meta(const struct mp4_callback *cb);
 
 int mp4_meta_get_by_index(const struct mp4 *f, unsigned int index,
                             char **item, char **value);
-int32_t mp4_meta_update(const struct mp4_callback *cb,
-               const struct mp4_metadata *data);
-
+int32_t mp4_meta_update(struct mp4 *f, struct mp4_metadata *meta);
 int mp4_meta_get_num_items(const struct mp4 *f);
-int mp4_meta_get_artist(const struct mp4 *f, char **value);
-int mp4_meta_get_title(const struct mp4 *f, char **value);
-int mp4_meta_get_date(const struct mp4 *f, char **value);
-int mp4_meta_get_album(const struct mp4 *f, char **value);
-int mp4_meta_get_comment(const struct mp4 *f, char **value);
+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);