From 2c59642d28f83452962d7dea0275aef16d9d003b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 28 Aug 2021 20:50:13 +0200 Subject: [PATCH] mp4: Rename mp4_meta_update() to mp4_update_meta(). Just to be consistent with mp4_open_meta() and friends. --- aac_afh.c | 2 +- mp4.c | 2 +- mp4.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aac_afh.c b/aac_afh.c index cc3bf415..30e52fcd 100644 --- 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 381c9a21..02294265 100644 --- 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 a46b4029..4c4aed22 100644 --- 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); -- 2.39.5