On 07/05/2012 03:57 PM, Anton Khirnov wrote:
> ---
> avconv.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/avconv.c b/avconv.c
> index fad0626..9df5bb3 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -1556,8 +1556,10 @@ static int poll_filters(void)
> else
> ret = av_buffersink_read(ost->filter->filter, &picref);
>
> - if (ret < 0)
> + if (ret == AVERROR_EOF || ret == AVERROR(EAGAIN))
> break;
> + else if (ret < 0)
> + return ret;
>
> avfilter_copy_buf_props(filtered_frame, picref);
> if (picref->pts != AV_NOPTS_VALUE) {
LGTM
-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel