[FFmpeg-cvslog] rtmpproto: Fix assignments in if()
Michael Niedermayer
git at videolan.org
Mon Jan 14 16:21:55 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:07:51 2013 +0100| [6dc8505417c9829414b408413a9ff5caea88fec8] | committer: Martin Storsjö
rtmpproto: Fix assignments in if()
Signed-off-by: Martin Storsjö <martin at martin.st>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6dc8505417c9829414b408413a9ff5caea88fec8
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index f25a79b..78ebbf1 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;
}
More information about the ffmpeg-cvslog
mailing list