Commit c76daa89 authored by Martin Storsjö's avatar Martin Storsjö

rtmp: Return a proper error code in handle_invoke_error

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 50640977
...@@ -1533,7 +1533,7 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt) ...@@ -1533,7 +1533,7 @@ static int handle_invoke_error(URLContext *s, RTMPPacket *pkt)
level = AV_LOG_WARNING; level = AV_LOG_WARNING;
ret = 0; ret = 0;
} else } else
ret = -1; ret = AVERROR_UNKNOWN;
av_log(s, level, "Server error: %s\n", tmpstr); av_log(s, level, "Server error: %s\n", tmpstr);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment