[FFmpeg-cvslog] zmqsend: Initialize ret to 0
Timothy Gu
git at videolan.org
Tue Dec 6 02:20:52 EET 2016
ffmpeg | branch: release/2.8 | Timothy Gu <timothygu99 at gmail.com> | Mon Dec 5 10:04:57 2016 -0800| [c472c1b3e7c047c387e8a9949e79eed1d9fb4cd2] | committer: Michael Niedermayer
zmqsend: Initialize ret to 0
Fixes CID1396857.
(cherry picked from commit d903b4e3ad4a81b3dd79f12c2f3b9cb16e511173)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c472c1b3e7c047c387e8a9949e79eed1d9fb4cd2
---
tools/zmqsend.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/zmqsend.c b/tools/zmqsend.c
index d47bf21..6148bd6 100644
--- a/tools/zmqsend.c
+++ b/tools/zmqsend.c
@@ -53,7 +53,7 @@ int main(int argc, char **argv)
{
AVBPrint src;
char c, *src_buf, *recv_buf;
- int recv_buf_size, ret;
+ int recv_buf_size, ret = 0;
void *zmq_ctx, *socket;
const char *bind_address = "tcp://localhost:5555";
const char *infilename = NULL;
More information about the ffmpeg-cvslog
mailing list