hls: Proceed to the next segment at any error code
authorMartin Storsjö <martin@martin.st>
Fri, 27 Jul 2012 17:24:53 +0000 (20:24 +0300)
committerMartin Storsjö <martin@martin.st>
Fri, 27 Jul 2012 22:21:32 +0000 (01:21 +0300)
commit8ebacfb598933f66ff34ad1b12cb1aa14928ac73
tree6571527f43a874bbed87440f80e23f6263d2db66
parent41ecbbc7aa3d491cc9d8d425634c5901eefa088a
hls: Proceed to the next segment at any error code

Previously, we returned any error code except AVERROR_EOF to the
caller - only if AVERROR_EOF or 0 was returned, we proceeded to
the next segment.

With some setups of web servers, using Connection: close in https
and GnuTLS, we don't get a clean error code at the end of segments.
In those cases, just proceed to the next segment.

Tested-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/hls.c