You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avconv: Drop an impossible check
EAGAIN is already managed in poll_filters(). Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
4
avconv.c
4
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));
|
decoded_frame->width, decoded_frame->height, av_get_pix_fmt_name(decoded_frame->format));
|
||||||
|
|
||||||
ret = poll_filters();
|
ret = poll_filters();
|
||||||
if (ret < 0 && (ret != AVERROR_EOF && ret != AVERROR(EAGAIN))) {
|
if (ret < 0 && ret != AVERROR_EOF) {
|
||||||
char errbuf[128];
|
char errbuf[128];
|
||||||
av_strerror(ret, errbuf, sizeof(errbuf));
|
av_strerror(ret, errbuf, sizeof(errbuf));
|
||||||
|
|
||||||
@@ -2556,7 +2556,7 @@ static int transcode(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ret = poll_filters();
|
ret = poll_filters();
|
||||||
if (ret < 0 && (ret != AVERROR_EOF || ret != AVERROR(EAGAIN))) {
|
if (ret < 0 && ret != AVERROR_EOF) {
|
||||||
char errbuf[128];
|
char errbuf[128];
|
||||||
av_strerror(ret, errbuf, sizeof(errbuf));
|
av_strerror(ret, errbuf, sizeof(errbuf));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user