[FFmpeg-devel] [PATCH 11/14] avformat/matroskasem: reorder EbmlSyntax tables

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Wed Apr 8 20:12:48 EEST 2020


Steve Lhomme:
> From: Steve Lhomme <robux4 at ycbcr.xyz>
> 
> So they are sorted by their EBML path, in reverse order so we don't extra
> declarations.

A parent and a child reference each other (in most instances), so I
don't see how you would avoid forward declarations at all. (If the
forward declarations were avoidable by reordering, it would already have
been done.)

The reason you seemingly don't need forward declarations in
matroskasem.c is because they are contained in matroskasem.h.

- Andreas


More information about the ffmpeg-devel mailing list