avformat/hlsenc: check dirname and fix vtt problem
authorSteven Liu <lq@chinaffmpeg.org>
Mon, 12 Nov 2018 09:42:12 +0000 (17:42 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Mon, 12 Nov 2018 09:42:12 +0000 (17:42 +0800)
commit43cc2e39c0092d5f34bc89618188af71019b5e9f
tree45b02f8acac955c8cca93be15a36050cbb7489af
parent26772b789b950d7f941506225924333736872cd6
avformat/hlsenc: check dirname and fix vtt problem

fix ticket: 7527
check dirname before use it
refine webvtt code in the hls_delete_old_segments

Reported-by: caspy
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c