1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

tools/zmqsend: Do not truncate fgetc() return

Fixes CID1396836

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-12-24 00:07:16 +01:00
parent 0ff5567a30
commit 87f6f15460

View File

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