aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:07:51 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-20 23:04:46 +0100
commitb006b2f4f54a79e813be737f03fea9145fb5e548 (patch)
tree83508e3214ccd94a380af474c0599135ee15e469
parentdadf58908ceb08a75cce4e0a80dda4f08fdaa986 (diff)
downloadffmpeg-b006b2f4f54a79e813be737f03fea9145fb5e548.tar.gz
rtmpproto: Fix assignments in if()n1.0.2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit a601eb9543ecab09aa69a6673e553318daf7ea57) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 518e7b290a..e23dd2db41 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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;
}