[FFmpeg-devel] [PATCH 1/3] In retry_transfer_wrapper, do not check url_interrupt_cb, causes problems when writing and pressing q during encoding.
Ronald S. Bultje
rsbultje
Mon Mar 7 20:54:59 CET 2011
Hi,
On Fri, Mar 4, 2011 at 5:43 PM, Luca Barbato <lu_zero at gentoo.org> wrote:
> 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;
Queued.
Ronald
More information about the ffmpeg-devel
mailing list