lavf/matroskaenc: skip writing "duration" tags

This commit is contained in:
Rodger Combs 2016-09-05 21:43:18 -05:00
parent 6ede4e93ca
commit 3829a02738
No known key found for this signature in database
GPG Key ID: E3E54DCDCD3CB843
1 changed files with 1 additions and 0 deletions

View File

@ -1314,6 +1314,7 @@ static int mkv_check_tag_name(const char *name, unsigned int elementid)
av_strcasecmp(name, "stereo_mode") &&
av_strcasecmp(name, "creation_time") &&
av_strcasecmp(name, "encoding_tool") &&
av_strcasecmp(name, "duration") &&
(elementid != MATROSKA_ID_TAGTARGETS_TRACKUID ||
av_strcasecmp(name, "language"));
}