diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-05-17 00:30:00 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-06-23 20:11:24 -0300 |
commit | bc3306fd5b272730bb4bc2c571d575fed75a1ce4 (patch) | |
tree | 0ab17370ffa42fdecf183161a83c4c65989403c0 /libavformat/swf.h | |
parent | c8232e50074f6f9f9b0674d0a5433f49d73a4e50 (diff) | |
download | ffmpeg-bc3306fd5b272730bb4bc2c571d575fed75a1ce4.tar.gz |
avformat/matroskadec: Treat SimpleBlock as EBML_BIN
Up until now, the SimpleBlock was treated specially: It basically had
its own EBML category and it was also included in the BlockGroup EBML
syntax (although a SimpleBlock must not exist in a BlockGroup according
to the Matroska specifications). The latter fact also meant that
a MatroskaBlock's buffer was always unreferenced twice.
This has been changed: The type of a SimpleBlock is now an EBML_BIN.
The only way in which SimpleBlocks are still different is that they
share their associated structure with another unit (namely BlockGroup).
This is also used to unref the block: It is always unreferenced via the
BlockGroup syntax.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/swf.h')
0 files changed, 0 insertions, 0 deletions