Browse code

rtmpproto: Fix assignments in if()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a601eb9543ecab09aa69a6673e553318daf7ea57)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2013/01/14 08:07:51
Showing 1 changed files
... ...
@@ -1793,7 +1793,7 @@ static int handle_invoke(URLContext *s, RTMPPacket *pkt)
1793 1793
                !memcmp(pkt->data, "\002\000\007publish", 10)       ||
1794 1794
                !memcmp(pkt->data, "\002\000\010_checkbw", 11)      ||
1795 1795
                !memcmp(pkt->data, "\002\000\014createStream", 15)) {
1796
-        if (ret = send_invoke_response(s, pkt) < 0)
1796
+        if ((ret = send_invoke_response(s, pkt)) < 0)
1797 1797
             return ret;
1798 1798
     }
1799 1799