Module: libav Branch: master Commit: 0d3784396b736374a61fea26268febdabd803a59
Author: Martin Storsjö <mar...@martin.st> Committer: Martin Storsjö <mar...@martin.st> Date: Tue Sep 17 15:07:10 2013 +0300 rtmpproto: Check for the right return code Signed-off-by: Martin Storsjö <mar...@martin.st> --- libavformat/rtmpproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c index 5989ba3..e9814a3 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; _______________________________________________ libav-commits mailing list libav-commits@libav.org https://lists.libav.org/mailman/listinfo/libav-commits