diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-01 11:49:47 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-21 07:31:10 +0200 |
commit | 86de864741fdc046f353a82da526445db44c4287 (patch) | |
tree | b623eb80ded8eee53341edd1d52914c2eb659f5e /tests/ref | |
parent | 945b92873061c66b82df892887cd9baf8146857b (diff) | |
download | ffmpeg-86de864741fdc046f353a82da526445db44c4287.tar.gz |
avformat/matroskaenc: Add check for using explicit TrackNumber
When creating DASH streams, the TrackNumber is externally prescribed
and not derived from the number of streams in the AVFormatContext, so
if the number of tracks for a file using an explicit TrackNumber was
more than one, the resulting file would be broken (it would be impossible
to tell to which track a Block belongs if different tracks share the
same TrackNumber). So disallow this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/ref')
0 files changed, 0 insertions, 0 deletions