Commit 6dc85054 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Martin Storsjö

rtmpproto: Fix assignments in if()

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent d641ee94
......@@ -1992,7 +1992,7 @@ static int handle_invoke(URLContext *s, RTMPPacket *pkt)
!memcmp(pkt->data, "\002\000\007publish", 10) ||
!memcmp(pkt->data, "\002\000\010_checkbw", 11) ||
!memcmp(pkt->data, "\002\000\014createStream", 15)) {
if (ret = send_invoke_response(s, pkt) < 0)
if ((ret = send_invoke_response(s, pkt)) < 0)
return ret;
}
......
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