[FFmpeg-devel] [PATCH 1/3] In retry_transfer_wrapper, do not check url_interrupt_cb, causes problems when writing and pressing q during encoding.
Luca Barbato
lu_zero
Fri Mar 4 23:43:02 CET 2011
From: Baptiste Coudurier <baptiste.coudurier at gmail.com>
---
libavformat/avio.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index a19ec37..cf07c6d 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -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;
--
1.7.4.1
More information about the ffmpeg-devel
mailing list