git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rtmpproto: Check for the right return code
[ffmpeg.git]
/
libavformat
/
rtmpproto.c
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;