avformat/hlsenc: improve compute after_init_list_dur
authorSteven Liu <lq@chinaffmpeg.org>
Mon, 9 Jul 2018 09:05:30 +0000 (17:05 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Wed, 11 Jul 2018 05:28:14 +0000 (13:28 +0800)
commitbd8a5c6b7ce71c739ab95f6b17e8caeeec2dc9e7
tree70a9e6f766a211415362c4be9c572c0e38bc1a4d
parent0bd48ab2d9e463b75ef52c0eaa0cc00c4c385cce
avformat/hlsenc: improve compute after_init_list_dur

fix ticket: 7305
vs->sequence - hls->start_sequence - vs->nb_entries is the
after_init_list_dur fragment numbers
fix the wrong compute way vs->sequence - vs->nb_entries

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