avformat/hlsenc: fix base_output_dirname is null when basename_size is 0 bug
authorSteven Liu <lq@chinaffmpeg.org>
Sun, 29 Oct 2017 04:30:44 +0000 (12:30 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 29 Oct 2017 04:30:44 +0000 (12:30 +0800)
commitf5208307618d992ddd2d96866cf5a267c9bc7165
tree8e7afb697eacc13f47c55d86f179e83db36a910a
parentca2b7794234cccd6c4ae548c4bd2eac5c53b80f2
avformat/hlsenc: fix base_output_dirname is null when basename_size is 0 bug

fix ticket id: #6777
when use argument hls_segment_filename, the basename_size will be 0

Signed-off-by: Steven Liu <lq@onvideo.cn>
libavformat/hlsenc.c