[FFmpeg-devel] [PATCH] lavf/http: handle case where the server returns a redirect during a seek

Michael Niedermayer michaelni at gmx.at
Mon Apr 13 11:32:35 CEST 2015

On Mon, Apr 13, 2015 at 12:39:44AM -0500, Rodger Combs wrote:
> txoffer (e.g. http://tori.aoi-chan.com/ ) redirects to the same URI on your
> first request, and serves the actual file on the second. It's stupid, but AFAIK
> technically compliant. We'd previously see the server not handing back a Range
> header and return an error; now, instead, we see that there's a redirect and
> keep track of the offset we want while trying again at the new URL.
> ---
>  libavformat/http.c | 3 +++
>  1 file changed, 3 insertions(+)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150413/1afd75e4/attachment.asc>

More information about the ffmpeg-devel mailing list