aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodger Combs <rodger.combs@gmail.com>2016-09-05 21:43:18 -0500
committerRodger Combs <rodger.combs@gmail.com>2016-09-06 17:25:36 -0500
commit3829a02738c16cfc84f41fd4b55a34c03386a65b (patch)
tree287b7a3ce01b63fad109df41811c0a72ad35c5e1
parent6ede4e93ca0468dc1645677ad540f575c941ff7a (diff)
downloadffmpeg-3829a02738c16cfc84f41fd4b55a34c03386a65b.tar.gz
lavf/matroskaenc: skip writing "duration" tags
-rw-r--r--libavformat/matroskaenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index decb66de75..7deccaaa74 100644
--- a/libavformat/matroskaenc.c
+++ b/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"));
}