1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavformat
Steven Liu c64d56a2f5 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🅰️0 -map 0:s:0 -map 0✌️0 -f hls aaaa.m3u8
will EXC_BAD_ACCESS

after patch:
ffmpeg -i input -map 0🅰️0 -map 0:s:0 -map 0✌️0 -f hls aaaa.m3u8
will ok

Signed-off-by: Steven Liu <liuqi05@kuaishou.com>
2021-08-19 18:24:15 +08:00
..
2021-06-10 16:51:44 +02:00
2021-07-22 15:02:30 +02:00
2021-07-31 22:08:19 +02:00
2021-05-06 09:44:42 -03:00
2021-07-08 16:03:17 +02:00
2021-07-22 15:02:30 +02:00
2021-07-20 11:20:04 +05:30
2021-08-06 22:49:26 +02:00
2021-07-22 15:02:30 +02:00
2021-05-13 09:13:03 +10:00
2021-08-18 13:07:46 +03:00
2021-08-18 13:07:46 +03:00
2021-06-18 18:58:25 +02:00
2021-07-05 12:49:55 -04:00
2021-07-08 16:03:18 +02:00