avformat/hlsenc: fix ticket 6231
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 14 Mar 2017 02:16:00 +0000 (10:16 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 14 Mar 2017 02:16:00 +0000 (10:16 +0800)
commitd3ce067e7687203cf4a0a475ffd4b733b7c3b4f4
treead614e91865c2df13436b6b9588036e95cd7b4aa
parent7cebc5a9ccba0de7bddf7900ae85652ebc66141c
avformat/hlsenc: fix ticket 6231

check if the hls_flags is byterange_mode and check if should close fd

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