Browse Source

zmqsend: Initialize ret to 0

Fixes CID1396857.

(cherry picked from commit d903b4e3ad)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.2.2
Timothy Gu Michael Niedermayer 8 years ago
parent
commit
f66bfe71bb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tools/zmqsend.c

+ 1
- 1
tools/zmqsend.c View File

@@ -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;


Loading…
Cancel
Save