mirror of https://git.ffmpeg.org/ffmpeg.git
rtmpproto: Fix assignments in if()
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
d641ee94b5
commit
6dc8505417
|
@ -1992,7 +1992,7 @@ static int handle_invoke(URLContext *s, RTMPPacket *pkt)
|
||||||
!memcmp(pkt->data, "\002\000\007publish", 10) ||
|
!memcmp(pkt->data, "\002\000\007publish", 10) ||
|
||||||
!memcmp(pkt->data, "\002\000\010_checkbw", 11) ||
|
!memcmp(pkt->data, "\002\000\010_checkbw", 11) ||
|
||||||
!memcmp(pkt->data, "\002\000\014createStream", 15)) {
|
!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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue