diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-07-17 05:29:40 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2019-07-18 09:38:10 +0200 |
commit | ab4795a085cd3deacb5e4bbaf527d66171361024 (patch) | |
tree | 2b8fd729b273da1c0592ff73bb0702cacca4f999 /doc/metadata.texi | |
parent | 2d900d8fe0aaf9c984e024956eb537ecdfe2c949 (diff) | |
download | ffmpeg-ab4795a085cd3deacb5e4bbaf527d66171361024.tar.gz |
matroskadec: Add sizes to forward declarations
Unknown-length elements end when an element not allowed in them, but
allowed at a higher level is encountered. In order to check for this,
c1abd95a added a pointer to every syntax level's parent to each
EbmlSyntax. Given that the parent must of course also reference the
child in order to be able to enter said child level, one needs to use
forward declarations.
These forward declarations constitute tentative definitions and tentative
definitions with internal linkage (like our syntaxes) must not be an
incomplete type. Yet they were an incomplete type and while GCC and
Clang did not even warn about this (on default warning levels), it
broke compilation with MSVC. Therefore this commit adds the sizes.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'doc/metadata.texi')
0 files changed, 0 insertions, 0 deletions