rtmpproto: Check for the right return code

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Martin Storsjö 2013-09-17 15:07:10 +03:00
parent 8411baf6f0
commit 0d3784396b
1 changed files with 1 additions and 1 deletions

View File

@ -2531,7 +2531,7 @@ reconnect:
do {
ret = get_packet(s, 1);
} while (ret == EAGAIN);
} while (ret == AVERROR(EAGAIN));
if (ret < 0)
goto fail;