Commit 0d378439 authored by Martin Storsjö's avatar Martin Storsjö

rtmpproto: Check for the right return code

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 8411baf6
......@@ -2531,7 +2531,7 @@ reconnect:
do {
ret = get_packet(s, 1);
} while (ret == EAGAIN);
} while (ret == AVERROR(EAGAIN));
if (ret < 0)
goto fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment