aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Gu <timothygu99@gmail.com>2016-12-05 10:04:57 -0800
committerMichael Niedermayer <michael@niedermayer.cc>2016-12-05 22:05:37 +0100
commit9c0b2b9d5b5515d85b6cd2e4e580617fe780e0ae (patch)
tree4ed63d9d9e796051b9aac73e06bdfb07d7c40cb9
parentd111c9ce139c83edbf4f1e0ea22bb151b8da1547 (diff)
downloadffmpeg-9c0b2b9d5b5515d85b6cd2e4e580617fe780e0ae.tar.gz
zmqsend: Initialize ret to 0
Fixes CID1396857. (cherry picked from commit d903b4e3ad4a81b3dd79f12c2f3b9cb16e511173) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--tools/zmqsend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/zmqsend.c b/tools/zmqsend.c
index d47bf216b4..6148bd623c 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;