aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2013-09-17 15:07:10 +0300
committerMartin Storsjö <martin@martin.st>2013-09-17 20:09:22 +0300
commit0d3784396b736374a61fea26268febdabd803a59 (patch)
treec351d03873ff83519b498ca045b6c27e9f4f8a7f
parent8411baf6f0a42bdd61f00f34aa9efec7e138b5f2 (diff)
downloadffmpeg-0d3784396b736374a61fea26268febdabd803a59.tar.gz
rtmpproto: Check for the right return code
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
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;