avformat/hlsenc.c: fix the output's duration smaller than input's in sub-range mode.
authorCharles Liu <liuchh83@gmail.com>
Tue, 30 Oct 2018 03:11:27 +0000 (11:11 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 30 Oct 2018 03:11:27 +0000 (11:11 +0800)
commit1ff4bd59dfcea26b584e8c82a6cd7c3ee87fc8a7
tree8d02991675d1da40858c0873a580ad2b8d8680f6
parent76b8e42c1f0453215244c45114d5aa302e2add7b
avformat/hlsenc.c: fix the output's duration smaller than input's in sub-range mode.

In fmp4 & sub-range mode, the output's duration always smaller than expected,
because the size of the last #EXT-X-BYTERANGE is too small.

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