From: Martin Storsjö Date: Tue, 17 Sep 2013 12:07:10 +0000 (+0300) Subject: rtmpproto: Check for the right return code X-Git-Tag: n2.1~57^2~256 X-Git-Url: https://git.videolan.org/?p=ffmpeg.git;a=commitdiff_plain;h=0d3784396b736374a61fea26268febdabd803a59;ds=sidebyside rtmpproto: Check for the right return code Signed-off-by: Martin Storsjö --- diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 5989ba3454..e9814a3a28 100644 --- a/libavformat/rtmpproto.c +++ b/libavformat/rtmpproto.c @@ -2531,7 +2531,7 @@ reconnect: do { ret = get_packet(s, 1); - } while (ret == EAGAIN); + } while (ret == AVERROR(EAGAIN)); if (ret < 0) goto fail;