mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
rtmpproto: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1ac5a8d7e3
commit
a601eb9543
@ -1989,7 +1989,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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user