projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8411baf
)
rtmpproto: Check for the right return code
author
Martin Storsjö
<martin@martin.st>
Tue, 17 Sep 2013 12:07:10 +0000
(15:07 +0300)
committer
Martin Storsjö
<martin@martin.st>
Tue, 17 Sep 2013 17:09:22 +0000
(20:09 +0300)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
5989ba3
..
e9814a3
100644
(file)
--- 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;