The MP4 file is not modified until the mp4tag_write_tags function is called.
If possible, the MP4 file is modified in-place. If there is not enough room for the modified tags, the MP4 file is re-written and replaced.
Determining whether any tags have changed and whether calling
mp4tag_write_tags is necessary is the responsibility of the application.
int mp4tag_write_tags (libmp4tag_t *libmp4tag)
libmp4tag : The libmp4tag_t structure returned from mp4tag_open.
Returns: MP4TAG_OK or MP4TAG_ERR_CANNOT_WRITE for read-only files and streams, or other error code.