avformat/hlsenc: fix bug of hlsenc http delete old segments
authorSteven Liu <lq@chinaffmpeg.org>
Wed, 18 Jan 2017 23:06:50 +0000 (07:06 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 18 Jan 2017 23:06:50 +0000 (07:06 +0800)
commitb05d0274ce7dca3d9b3efd9258b46c7a898f04a9
tree392a127a23303e6e1c22ebe828237492ed1ec597
parentc3050fcbdcb2dbaecab662836afd0d1b7badbf10
avformat/hlsenc: fix bug of hlsenc http delete old segments

when push hls to http server, the old segemnts can not delete by hls formats.
so add the http option into hls_delete_old_segments

Reported-by: Yin Jiaoyuan <yinjiaoyuan@163.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/hlsenc.c