[FFmpeg-devel] [PATCH] avformat/http: allow content range to set filesize

PHILIP DE NIER philip.denier at btinternet.com
Fri Dec 9 13:54:42 EET 2016


Hi,
Attached patch fixes issue #6007 for me.
I think it could improved / extended because the "if (s->seekable == -1 && (!s->is_akamai || s->content_range_len != 2147483647))" is probably better placed http_read_header along with the similar is_mediagateway workaround. I wasn't sure whether the is_akamai should only be triggered if the filesize was read from the Content-Range header.
Philip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-http-allow-content-range-to-set-filesize.patch
Type: text/x-diff
Size: 3324 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161209/50863628/attachment.patch>


More information about the ffmpeg-devel mailing list