lavf/matroskaenc: Check for valid metadata before creating tags
authorJames Almer <jamrial@gmail.com>
Wed, 17 Jul 2013 06:10:16 +0000 (03:10 -0300)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 17 Jul 2013 10:18:27 +0000 (12:18 +0200)
commit088ed5314694031e07e02e9d364c9d486a60e704
treea7430287ff2751715fe70448bb55bcb07f506e2d
parentb4fe41c981de403a65cdf62eac23dd38234d5562
lavf/matroskaenc: Check for valid metadata before creating tags

Tags must have at least one SimpleTag element to be spec conformant.
Updated lavf-mkv and seek-lavf-mkv FATE references as the tests were affected by
this.

Fixes ticket #2785

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/matroskaenc.c
tests/ref/lavf/mkv
tests/ref/seek/lavf-mkv