[FFmpeg-cvslog] rtmpproto: Check for the right return code
Martin Storsjö
git at videolan.org
Wed Sep 18 11:00:58 CEST 2013
ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Sep 17 15:07:10 2013 +0300| [0d3784396b736374a61fea26268febdabd803a59] | committer: Martin Storsjö
rtmpproto: Check for the right return code
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d3784396b736374a61fea26268febdabd803a59
---
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;
More information about the ffmpeg-cvslog
mailing list