• Andreas Rheinhardt's avatar
    avformat/matroskadec: Link to parents in syntax tables · c1abd95a
    Andreas Rheinhardt authored
    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: 's avatarAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
    c1abd95a
Name
Last commit
Last update
compat Loading commit data...
doc Loading commit data...
ffbuild Loading commit data...
fftools Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libpostproc Loading commit data...
libswresample Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL.md Loading commit data...
LICENSE.md Loading commit data...
MAINTAINERS Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...