Re: [FFmpeg-devel] [PATCH 4/6] avformat/hlsenc: Simplify setting subtitle basename with av_asprintf

2020-05-09 Thread Steven Liu
> 2020年5月10日 上午3:15,Andreas Rheinhardt 写道: > > Signed-off-by: Andreas Rheinhardt > --- > This patch is designed not to change the output at all. Yet I wonder if > instead of p = strrchr(vs->m3u8_name, '.') it should not better be p = > strrchr(av_basename(vs->m3u8_name), '.'). Otherwise in a p

[FFmpeg-devel] [PATCH 4/6] avformat/hlsenc: Simplify setting subtitle basename with av_asprintf

2020-05-09 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- This patch is designed not to change the output at all. Yet I wonder if instead of p = strrchr(vs->m3u8_name, '.') it should not better be p = strrchr(av_basename(vs->m3u8_name), '.'). Otherwise in a path like "./hlsstream/master" everything after '.' will be