]> git.sesse.net Git - ffmpeg/commit
avformat/matroskadec: Allow multiple Tags elements
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Thu, 30 Apr 2020 22:49:49 +0000 (00:49 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 8 May 2020 11:42:35 +0000 (13:42 +0200)
commitff4da60fb8d849f709295bcdcb67726ea189d62b
treeac9ff4fbb95844dad5c3f6e5a500b8fccabff0b1
parent7e9103535ab82b82cb2d440c205a65a7767fa060
avformat/matroskadec: Allow multiple Tags elements

The Matroska specification allows multiple (level 1) Tags elements per
file, yet our demuxer didn't: While it parsed any amount of Tags
elements it found in front of the Clusters (albeit with warnings because
of duplicate elements), it would treat any Tags element only referenced
via a SeekHead entry as already parsed if any Tags element has already
been parsed; therefore this Tags element would not be parsed at all.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/matroskadec.c