mirror of
https://github.com/zhaarey/go-mp4tag.git
synced 2025-10-23 15:11:07 +00:00
Update write.go
This commit is contained in:
4
write.go
4
write.go
@@ -1044,7 +1044,7 @@ func (mp4 MP4) writeTags(boxes MP4Boxes, tags *MP4Tags, tempPath string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
} else if tags.Date == "" {
|
||||
} else if tags.Date != "" {
|
||||
err = writeRegular(f, "day", tags.Date, true)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -1134,4 +1134,4 @@ func (mp4 *MP4) actualWrite(tags *MP4Tags, _delStrings []string) error {
|
||||
mp4.f = m.f
|
||||
mp4.size = m.size
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user