Commit 6f3e2913 authored by Antonio Morell's avatar Antonio Morell Committed by Karthick Jeyapal

libavformat/dashenc: Fix relative URI of HLS master playlist

parent 67fb9c75
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment