mirror of https://git.ffmpeg.org/ffmpeg.git
rtmpproto: Check for the right return code
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
8411baf6f0
commit
0d3784396b
|
@ -2531,7 +2531,7 @@ reconnect:
|
|||
|
||||
do {
|
||||
ret = get_packet(s, 1);
|
||||
} while (ret == EAGAIN);
|
||||
} while (ret == AVERROR(EAGAIN));
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
|
|
Loading…
Reference in New Issue