mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 11:19:55 +00:00
libavformat/dashenc: Fix relative URI of HLS master playlist
This commit is contained in:
parent
67fb9c75ef
commit
6f3e2913f5
@ -868,7 +868,7 @@ static int write_manifest(AVFormatContext *s, int final)
|
||||
int max_audio_bitrate = 0;
|
||||
|
||||
if (*c->dirname)
|
||||
snprintf(filename_hls, sizeof(filename_hls), "%s/master.m3u8", c->dirname);
|
||||
snprintf(filename_hls, sizeof(filename_hls), "%smaster.m3u8", c->dirname);
|
||||
else
|
||||
snprintf(filename_hls, sizeof(filename_hls), "master.m3u8");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user