mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 11:44:49 +00:00
rtmp: Return a proper error code in handle_invoke_error
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
506409776c
commit
c76daa89ab
@ -1533,7 +1533,7 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt)
|
||||
level = AV_LOG_WARNING;
|
||||
ret = 0;
|
||||
} else
|
||||
ret = -1;
|
||||
ret = AVERROR_UNKNOWN;
|
||||
av_log(s, level, "Server error: %s\n", tmpstr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user