mirror of https://git.ffmpeg.org/ffmpeg.git
zmqsend: Initialize ret to 0
Fixes CID1396857.
(cherry picked from commit d903b4e3ad
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ac0cdddc78
commit
cdea949fcf
|
@ -53,7 +53,7 @@ int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
AVBPrint src;
|
AVBPrint src;
|
||||||
char c, *src_buf, *recv_buf;
|
char c, *src_buf, *recv_buf;
|
||||||
int recv_buf_size, ret;
|
int recv_buf_size, ret = 0;
|
||||||
void *zmq_ctx, *socket;
|
void *zmq_ctx, *socket;
|
||||||
const char *bind_address = "tcp://localhost:5555";
|
const char *bind_address = "tcp://localhost:5555";
|
||||||
const char *infilename = NULL;
|
const char *infilename = NULL;
|
||||||
|
|
Loading…
Reference in New Issue