libavformat/dashenc: Fix relative URI of HLS master playlist

This commit is contained in:
Antonio Morell 2018-07-26 14:22:21 +01:00 committed by Karthick Jeyapal
parent 67fb9c75ef
commit 6f3e2913f5

View File

@ -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");