]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aac_afh.c
mp4: Doxify the public API.
[paraslash.git] / aac_afh.c
index cc3bf415c82f05ce7f529610a01dc25586597fc8..7be441ab209b5ee7ca85c371f229f0c76ece96cb 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.c
@@ -68,7 +68,7 @@ static int aac_afh_open(const void *map, size_t mapsize, void **afh_context)
        c->cb.seek = aac_afh_seek_cb;
        c->cb.user_data = c;
 
-       ret = mp4_open_read(&c->cb, &c->mp4);
+       ret = mp4_open(&c->cb, &c->mp4);
        if (ret < 0)
                goto free_ctx;
        *afh_context = c;
@@ -237,7 +237,7 @@ static int aac_afh_rewrite_tags(const char *map, size_t mapsize,
        replace_or_add_tag("album", tags->album, metadata);
        replace_or_add_tag("date", tags->year, metadata);
        replace_or_add_tag("comment", tags->comment, metadata);
-       ret = mp4_meta_update(mp4);
+       ret = mp4_update_meta(mp4);
        mp4_close(mp4);
        return ret;
 }