diff options
author | Timothy Gu <timothygu99@gmail.com> | 2016-12-05 10:04:57 -0800 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-08-23 13:15:16 +0200 |
commit | cdea949fcf1471afa2da0b4806c3ba8ee9c16694 (patch) | |
tree | 2c251ed86326e8a62aac05ed2c23f4da36b6a779 | |
parent | ac0cdddc783ea49a1680c8f1a37bc037dfe46ff0 (diff) | |
download | ffmpeg-cdea949fcf1471afa2da0b4806c3ba8ee9c16694.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.c | 2 |
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; |