diff options
author | Steven Liu <liuqi05@kuaishou.com> | 2021-07-20 20:07:36 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2021-08-19 18:24:15 +0800 |
commit | c64d56a2f53455f803456811873ff08fce98e122 (patch) | |
tree | d9cce5153284ffcc7c7dff9e8796fd844c611275 /libavcodec/mediacodec_surface.h | |
parent | 5dc1b4b9979c84efc3b81bcb2c244e71e22a951a (diff) | |
download | ffmpeg-c64d56a2f53455f803456811873ff08fce98e122.tar.gz |
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>
Diffstat (limited to 'libavcodec/mediacodec_surface.h')
0 files changed, 0 insertions, 0 deletions