提交 63f7f8d1 编写于 作者: L Luca Barbato

avconv: Drop an impossible check

EAGAIN is already managed in poll_filters().
Signed-off-by: NLuca Barbato <lu_zero@gentoo.org>
上级 7ebf1b4a
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册