[downloader/hls] Fix incorrect end byte in Range HTTP header for media segments with EXT-X-BYTERANGE (#24512) (closes #14748)
[downloader/hls] Fix incorrect end byte in Range HTTP header for media segments with EXT-X-BYTERANGE (#24512) (closes #14748)

The end of the byte range is the first byte that is NOT part of the to
be downloaded range. So don't include it into the requested HTTP
download range, as this additional byte leads to a broken TS packet and
subsequently to e.g. visible video corruption.

Fixes #14748.
rg3/youtube-dl,spvkgn/youtube-dl,ozburo/youtube-dl,nyuszika7h/youtube-dl,yan12125/youtube-dl,yan12125/youtube-dl,spvkgn/youtube-dl,nyuszika7h/youtube-dl,Tatsh/youtube-dl,Tatsh/youtube-dl,rg3/youtube-dl,ozburo/youtube-dl