diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-01-22 19:37:29 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-04-03 08:22:04 +0200 |
commit | af97a3a4d6b9d199654ab6328c79e6be808ce6f9 (patch) | |
tree | 9c15eea00ded20d8610ba0d70d8800f73b83f003 /libavformat/hevcdec.c | |
parent | 0fc150f048398c9dbb8578f25e916fd356c18a54 (diff) | |
download | ffmpeg-af97a3a4d6b9d199654ab6328c79e6be808ce6f9.tar.gz |
avformat/matroskaenc: Improve checks for updating Tags
When updating the Tags at the end, the Matroska muxer would twice check
for whether (!mkv->is_live) is true, despite this code being only executed
if it is. Furthermore, a loop iterates over all the streams even when
there is no Tags element to update at all, because the check for whether
there are Tags is only performed later. This commit fixes this.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavformat/hevcdec.c')
0 files changed, 0 insertions, 0 deletions