In retry_transfer_wrapper, do not check url_interrupt_cb,

causes problems when writing and pressing q during encoding.
This commit is contained in:
Baptiste Coudurier 2011-03-03 19:33:44 -08:00
parent ad82bf9ce0
commit 08c866345c

View File

@ -214,8 +214,6 @@ static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf, int
len = 0;
while (len < size_min) {
if (url_interrupt_cb())
return AVERROR(EINTR);
ret = transfer_func(h, buf+len, size-len);
if (ret == AVERROR(EINTR))
continue;