[FFmpeg-cvslog] libavformat/dashenc: Fix relative URI of HLS master playlist

Antonio Morell git at videolan.org
Mon Jul 30 08:40:17 EEST 2018


ffmpeg | branch: master | Antonio Morell <antonio.morell at system73.com> | Thu Jul 26 14:22:21 2018 +0100| [6f3e2913f52b573a9502cb722084d42a8de2d926] | committer: Karthick Jeyapal

libavformat/dashenc: Fix relative URI of HLS master playlist

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6f3e2913f52b573a9502cb722084d42a8de2d926
---

 libavformat/dashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list