aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-18 10:50:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-18 10:50:54 +0200
commit7742edc03b3cd2cc72b293ae22d1f6cdfe0943f0 (patch)
tree9dea9b735f98534dd23414df466ee06b06b688ae
parentf9ccdcb6ce0a874c81c41c2a42f609a8cdc5ddae (diff)
parent0d3784396b736374a61fea26268febdabd803a59 (diff)
downloadffmpeg-7742edc03b3cd2cc72b293ae22d1f6cdfe0943f0.tar.gz
Merge commit '0d3784396b736374a61fea26268febdabd803a59'
* commit '0d3784396b736374a61fea26268febdabd803a59': rtmpproto: Check for the right return code Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 225fb58fdd..aac3c3370e 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -2532,7 +2532,7 @@ reconnect:
do {
ret = get_packet(s, 1);
- } while (ret == EAGAIN);
+ } while (ret == AVERROR(EAGAIN));
if (ret < 0)
goto fail;