[FFmpeg-devel] [PATCH 16/16] rtmpproto: Fix assignments in if()
Michael Niedermayer
michaelni at gmx.at
Mon Jan 14 00:20:25 CET 2013
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 1132ab6..6f03dd9 100644
--- a/libavformat/rtmpproto.c
+++ b/libavformat/rtmpproto.c
@@ -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;
}
--
1.7.9.5
More information about the ffmpeg-devel
mailing list