Changeset c64d56a2 in ffmpeg

Timestamp:
Aug 19, 2021, 10:24:15 AM (3 years ago)
Author:
Steven Liu <lq@chinaffmpeg.org>
Branches:
master
Children:
8990c58
Parents:
5dc1b4b9
git-author:
Steven Liu <liuqi05@kuaishou.com> (07/20/21 12:07:36)
git-committer:
Steven Liu <lq@chinaffmpeg.org> (08/19/21 10:24:15)
Message:

avformat/hlsenc: minus subtitle streams count when subtitle stream between video and audio streams

because subtitles streams will be written to webvtt m3u8 list
so the stream index should minus subtitles streams count when subtitle
between audio and video streams.
testcase:
before patch:
ffmpeg -i input -map 0:a:0 -map 0:s:0 -map 0:v:0 -f hls aaaa.m3u8
will EXC_BAD_ACCESS

after patch:
ffmpeg -i input -map 0:a:0 -map 0:s:0 -map 0:v:0 -f hls aaaa.m3u8
will ok

Signed-off-by: Steven Liu <liuqi05@kuaishou.com>

(No files)

Note: See TracChangeset for help on using the changeset viewer.