diff options
author | Rodger Combs <rodger.combs@gmail.com> | 2016-09-05 21:43:18 -0500 |
---|---|---|
committer | Rodger Combs <rodger.combs@gmail.com> | 2016-09-06 17:25:36 -0500 |
commit | 3829a02738c16cfc84f41fd4b55a34c03386a65b (patch) | |
tree | 287b7a3ce01b63fad109df41811c0a72ad35c5e1 | |
parent | 6ede4e93ca0468dc1645677ad540f575c941ff7a (diff) | |
download | ffmpeg-3829a02738c16cfc84f41fd4b55a34c03386a65b.tar.gz |
lavf/matroskaenc: skip writing "duration" tags
-rw-r--r-- | libavformat/matroskaenc.c | 1 |
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")); } |