[FFmpeg-devel] [PATCH 1/1] libavformat/dashenc: Fix relative URI of HLS master playlist

Jeyapal, Karthick kjeyapal at akamai.com
Fri Jul 27 10:20:56 EEST 2018


On 7/26/18 6:52 PM, Antonio Morell wrote:
> ---
>  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");
>  

LGTM.

Thanks, Karthick 
> -- 
> 2.15.2 (Apple Git-101.1)
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel




More information about the ffmpeg-devel mailing list