avformat/hlsenc.c: fix the output's duration smaller than input's in sub-range mode.