[FFmpeg-cvslog] rtmpproto: Fix assignments in if()
Michael Niedermayer
git at videolan.org
Sun Jan 20 23:13:06 CET 2013
ffmpeg | branch: release/1.0 | Michael Niedermayer <michaelni at gmx.at> | Mon Jan 14 00:07:51 2013 +0100| [b006b2f4f54a79e813be737f03fea9145fb5e548] | committer: Michael Niedermayer
rtmpproto: Fix assignments in if()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit a601eb9543ecab09aa69a6673e553318daf7ea57)
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b006b2f4f54a79e813be737f03fea9145fb5e548
---
libavformat/rtmpproto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 518e7b2..e23dd2d 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;
}
More information about the ffmpeg-cvslog
mailing list