lavf/matroskaenc: skip writing "duration" tags

pull/232/head
Rodger Combs 9 years ago
parent 6ede4e93ca
commit 3829a02738
No known key found for this signature in database
GPG Key ID: E3E54DCDCD3CB843
  1. 1
      libavformat/matroskaenc.c

@ -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"));
}

Loading…
Cancel
Save