mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02: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