mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-06 22:25:36 +01:00
rtmp: Return a proper error code in handle_invoke_error
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user