summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Morell <antonio.morell@system73.com>2018-07-26 14:22:21 +0100
committerKarthick Jeyapal <kjeyapal@akamai.com>2018-07-30 11:09:54 +0530
commit6f3e2913f52b573a9502cb722084d42a8de2d926 (patch)
tree191ed9d9d2969b79d501fd672f4b00e837b2f8c2
parent67fb9c75efec9f069fc57b3ed211a35c63c686e5 (diff)
libavformat/dashenc: Fix relative URI of HLS master playlist
-rw-r--r--libavformat/dashenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index a9b8b1d4f6..ae57fd5493 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -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");