Quoting Luca Barbato (2016-01-02 14:43:13)
> EAGAIN is already managed in poll_filters().
> ---
> avconv.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/avconv.c b/avconv.c
> index 0410378..6b37d6e 100644
> --- a/avconv.c
> +++ b/avconv.c
> @@ -1231,7 +1231,7 @@ static int decode_video(InputStream *ist, AVPacket
> *pkt, int *got_output)
> decoded_frame->width, decoded_frame->height,
> av_get_pix_fmt_name(decoded_frame->format));
>
> ret = poll_filters();
> - if (ret < 0 && (ret != AVERROR_EOF && ret != AVERROR(EAGAIN))) {
> + if (ret < 0 && ret != AVERROR_EOF) {
> char errbuf[128];
> av_strerror(ret, errbuf, sizeof(errbuf));
>
> @@ -2556,7 +2556,7 @@ static int transcode(void)
> }
>
> ret = poll_filters();
> - if (ret < 0 && (ret != AVERROR_EOF || ret != AVERROR(EAGAIN))) {
> + if (ret < 0 && ret != AVERROR_EOF) {
> char errbuf[128];
> av_strerror(ret, errbuf, sizeof(errbuf));
>
> --
> 2.6.2.402.g2635c2b.dirty
>
ok
--
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel