]> git.sesse.net Git - ffmpeg/commit
lavf/matroskaenc: use mkv_check_tag_name consistently
authorRodger Combs <rodger.combs@gmail.com>
Tue, 6 Sep 2016 03:26:16 +0000 (22:26 -0500)
committerRodger Combs <rodger.combs@gmail.com>
Tue, 6 Sep 2016 22:25:37 +0000 (17:25 -0500)
commit843e72ea5542845a0a9fed743517c14a92279885
tree9521c3b4a6f29a828599b600878a6904cbd4bac4
parent3829a02738c16cfc84f41fd4b55a34c03386a65b
lavf/matroskaenc: use mkv_check_tag_name consistently

Previously, we used a different list of checks when deciding whether to
write a set of tags at all than we did when deciding whether to write an
individual tag in the set. This resulted in sometimes writing an empty
tag master and seekhead. Now we use mkv_check_tag_name everywhere, so
if a dictionary is entirely composed of tags we skip, we don't write a
tag master at all.

This affected the test file, since "language" was on one list but not
the other, so we were writing an empty tag master there. The test hash
is updated to reflect that change.
libavformat/matroskaenc.c
tests/fate/matroska.mak