In retry_transfer_wrapper, do not check url_interrupt_cb,
causes problems when writing and pressing q during encoding.
This commit is contained in:
parent
ad82bf9ce0
commit
08c866345c
@ -214,8 +214,6 @@ static inline int retry_transfer_wrapper(URLContext *h, unsigned char *buf, int
|
|||||||
|
|
||||||
len = 0;
|
len = 0;
|
||||||
while (len < size_min) {
|
while (len < size_min) {
|
||||||
if (url_interrupt_cb())
|
|
||||||
return AVERROR(EINTR);
|
|
||||||
ret = transfer_func(h, buf+len, size-len);
|
ret = transfer_func(h, buf+len, size-len);
|
||||||
if (ret == AVERROR(EINTR))
|
if (ret == AVERROR(EINTR))
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user