On 07/27/2012 11:36 PM, Martin Storsjö wrote: > On Fri, 27 Jul 2012, Martin Storsjö wrote: > >> 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. >> --- >> libavformat/hls.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/libavformat/hls.c b/libavformat/hls.c >> index 253463e..cda65cd 100644 >> --- a/libavformat/hls.c >> +++ b/libavformat/hls.c >> @@ -420,8 +420,6 @@ reload: >> ret = ffurl_read(v->input, buf, buf_size); >> if (ret > 0) >> return ret; >> - if (ret < 0 && ret != AVERROR_EOF) >> - return ret; >> ffurl_close(v->input); >> v->input = NULL; >> v->cur_seq_no++; >> -- >> 1.7.9.4 > > This one was approved by Luca on irc. >
I confirm =) -- Luca Barbato Gentoo/linux http://dev.gentoo.org/~lu_zero _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
