diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-11-27 05:00:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-13 08:51:21 +0200 |
commit | 629f08a8632bf622ea7521b6de63eb8f9502fd4a (patch) | |
tree | 81bd076a8b72a25dfd4b973ef5f887b36177bc2d /Makefile | |
parent | ccadd00a4a720979c6d4cedb52713c2585dd5b03 (diff) | |
download | ffmpeg-629f08a8632bf622ea7521b6de63eb8f9502fd4a.tar.gz |
avformat/matroskaenc: Ignore AttachedFiles for track limit
Attachments are streams in FFmpeg, but they are not tracks in Matroska.
Yet they were counted when checking a limit for the number of tracks that
the Matroska muxer imposes. This is unnecessary and has been changed.
Also use unsigned variables for the variables denoting TrackNumbers as
negative TrackNumbers are impossible.
(The Matroska file format actually has practically no limit on the
number of tracks and this is purely what our muxer supports. But even if
this limit were removed/relaxed in the future, it still makes sense to
use small TrackNumbers as this patch does, because greater numbers need
more bytes to encode.)
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions