ffmpeg: hls: fix duration