diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-14 00:07:51 +0100 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-14 13:13:00 +0200 |
commit | 6dc8505417c9829414b408413a9ff5caea88fec8 (patch) | |
tree | 722b47f011e1204bd219de0f370dcb9d5e148d8b | |
parent | d641ee94b57a581ab0e45bb21c64bb5a32b0502c (diff) | |
download | ffmpeg-6dc8505417c9829414b408413a9ff5caea88fec8.tar.gz |
rtmpproto: Fix assignments in if()
Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r-- | libavformat/rtmpproto.c | 2 |
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; } |