mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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 {
|
do {
|
||||||
ret = get_packet(s, 1);
|
ret = get_packet(s, 1);
|
||||||
} while (ret == EAGAIN);
|
} while (ret == AVERROR(EAGAIN));
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user