diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-09-28 19:54:25 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-13 12:01:16 -0300 |
commit | 2f89f24eb952337a60a03e0dd602c28107c1d87a (patch) | |
tree | b418bf4ba47126282818b70c271eb307bf4470de /tests/ref/fate/h264-reinit-large_420_8-to-small_420_8 | |
parent | d3fef1a3bd9fc9e408a4b5b366a19249aea0c3f2 (diff) | |
download | ffmpeg-2f89f24eb952337a60a03e0dd602c28107c1d87a.tar.gz |
avformat/matroskadec: Fix demuxing ProRes
The structure of a ProRes frame in mov/mp4 is that of a typical atom:
First a 32 bit BE size field, then a tag detailling the content. Said
size field includes the eight bytes of the atom header.
This header is actually redundant, as the size of the atom is already
known from the containing atom. It is therefore stripped away when muxed
into Matroska and so the Matroska demuxer has to recreate upon demuxing.
But it did not account for the fact that the size field includes the
size of the header and this can lead to problems when a decoder uses the
in-band size field.
Fixes ticket #8210.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 581419ea39de6619c3389b8d10ac2cbe212c62a0)
Diffstat (limited to 'tests/ref/fate/h264-reinit-large_420_8-to-small_420_8')
0 files changed, 0 insertions, 0 deletions