aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-14 00:07:51 +0100
committerMartin Storsjö <martin@martin.st>2013-01-14 13:13:00 +0200
commit6dc8505417c9829414b408413a9ff5caea88fec8 (patch)
tree722b47f011e1204bd219de0f370dcb9d5e148d8b
parentd641ee94b57a581ab0e45bb21c64bb5a32b0502c (diff)
downloadffmpeg-6dc8505417c9829414b408413a9ff5caea88fec8.tar.gz
rtmpproto: Fix assignments in if()
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtmpproto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index f25a79b0e3..78ebbf1c10 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -1992,7 +1992,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;
}