Just to be consistent with mp4_open_meta() and friends.
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;
}
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;
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);