diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-24 00:07:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-24 14:46:25 +0100 |
commit | 87f6f15460983119eead5ae00bda1822f80d75fb (patch) | |
tree | 9f6f430cf5e22ab255f52209a90ce4141c10c04d /tools/zmqsend.c | |
parent | 0ff5567a30be6d7c804e95997ae282d6bacd76c3 (diff) | |
download | ffmpeg-87f6f15460983119eead5ae00bda1822f80d75fb.tar.gz |
tools/zmqsend: Do not truncate fgetc() return
Fixes CID1396836
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'tools/zmqsend.c')
-rw-r--r-- | tools/zmqsend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/zmqsend.c b/tools/zmqsend.c index 6148bd623c..7bd7fe4199 100644 --- a/tools/zmqsend.c +++ b/tools/zmqsend.c @@ -52,7 +52,8 @@ static void usage(void) int main(int argc, char **argv) { AVBPrint src; - char c, *src_buf, *recv_buf; + char *src_buf, *recv_buf; + int c; int recv_buf_size, ret = 0; void *zmq_ctx, *socket; const char *bind_address = "tcp://localhost:5555"; |