Commit b006b2f4 authored by Michael Niedermayer's avatar Michael Niedermayer

rtmpproto: Fix assignments in if()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a601eb95)
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dadf5890
......@@ -1793,7 +1793,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