diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-29 03:26:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-21 07:49:39 +0200 |
commit | a9844341f78e6eba78a9bb503e71a5d9e3ceea81 (patch) | |
tree | e69ccb800507302853225b6b0eae62b4d4ed70e6 /libavformat/hcom.c | |
parent | ef45cccc81d5f0deff2c69d223bf0bd7c0012294 (diff) | |
download | ffmpeg-a9844341f78e6eba78a9bb503e71a5d9e3ceea81.tar.gz |
avformat/matroskaenc: Only write Tracks if there is a track
The Matroska muxer does not write every stream as a Matroska track;
some streams are written as AttachedFile. But should no stream be
written as a Matroska track, the Matroska muxer would nevertheless
write a Tracks element without a TrackEntry. This is against the spec.
This commit changes this and only writes a Tracks if there is a Matroska
track.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/hcom.c')
0 files changed, 0 insertions, 0 deletions