]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mp4: Rename mp4_meta_update() to mp4_update_meta().
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 28 Aug 2021 18:50:13 +0000 (20:50 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 27 Jun 2022 14:45:56 +0000 (16:45 +0200)
Just to be consistent with mp4_open_meta() and friends.

aac_afh.c
mp4.c
mp4.h

index cc3bf415c82f05ce7f529610a01dc25586597fc8..30e52fcd5ce700670d9147a83fa751e93f0191de 100644 (file)
--- a/aac_afh.c
+++ b/aac_afh.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;
 }
diff --git a/mp4.c b/mp4.c
index 381c9a21d8d24a709d7b474f90ad5e97bb87374d..02294265916745275f52dc1e400fbe6ebcd9e64d 100644 (file)
--- a/mp4.c
+++ b/mp4.c
@@ -869,7 +869,7 @@ static int write_data(struct mp4 *f, void *data, size_t size)
        return 1;
 }
 
-int mp4_meta_update(struct mp4 *f)
+int mp4_update_meta(struct mp4 *f)
 {
        void *new_moov_data;
        uint32_t new_moov_size;
diff --git a/mp4.h b/mp4.h
index a46b4029b7469c968e0faf0875aeabe27bca573d..4c4aed2210cf472473c151529c5b1928dbd288cc 100644 (file)
--- a/mp4.h
+++ b/mp4.h
@@ -28,5 +28,5 @@ uint32_t mp4_num_samples(const struct mp4 *f);
 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);
+int mp4_update_meta(struct mp4 *f);
 char *mp4_get_tag_value(const struct mp4 *f, const char *item);