You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
In retry_transfer_wrapper, do not check url_interrupt_cb,
causes problems when writing and pressing q during encoding.
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user