diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-05-17 00:30:06 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-07-16 16:16:58 -0300 |
commit | c1abd95ad0964ff7295fa38af564f2dea1a3b314 (patch) | |
tree | 7f4a342710b37579ef094cbd13345bb4a1f01209 /tests/ref/fate/filter-pixfmts-fieldmatch | |
parent | a3db9f62a42a8e5365de67722ecfac7065a70699 (diff) | |
download | ffmpeg-c1abd95ad0964ff7295fa38af564f2dea1a3b314.tar.gz |
avformat/matroskadec: Link to parents in syntax tables
By linking to the syntax of the parent (i.e. the containing master
element) one can check whether an element is actually part of a higher
level in the EBML hierarchy. Knowing this is important for
unknown-length levels, because they end when an element that doesn't
belong to this, but to a higher hierarchy level is encountered.
Sometimes there are different syntaxes dealing with the same elements.
In this case it is important to use a parent that contains all the
elements at the parent level; whether this is the syntax actually used
to enter the child's level is irrelevant. This affects the list of level
1 elements (which has been used as parent for matroska_cluster, too) and
it affects recursive elements (currently only the SimpleTag), where the
non-recursive parent has to be choosen.
This is in preparation for a patch that redoes level handling.
Finally, the segment id has been added to ebml_syntax. This will enable
handling of unknown-length EBML headers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/ref/fate/filter-pixfmts-fieldmatch')
0 files changed, 0 insertions, 0 deletions