aboutsummaryrefslogtreecommitdiffstats
path: root/aac-enc-dabplus-zmq.c
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-05 16:27:00 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-05 16:27:00 +0100
commit373fcdac84fd1a8a8d513d1dcc00539821c1c803 (patch)
tree1ef13908bd11c7303c5e76ca4faa47baa2962d5c /aac-enc-dabplus-zmq.c
parentbb8a0c5d722c904d9306b6dce4c7676c89a05280 (diff)
downloadfdk-aac-dabplus-373fcdac84fd1a8a8d513d1dcc00539821c1c803.tar.gz
fdk-aac-dabplus-373fcdac84fd1a8a8d513d1dcc00539821c1c803.tar.bz2
fdk-aac-dabplus-373fcdac84fd1a8a8d513d1dcc00539821c1c803.zip
reverse connection setup for zmq
Diffstat (limited to 'aac-enc-dabplus-zmq.c')
-rw-r--r--aac-enc-dabplus-zmq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/aac-enc-dabplus-zmq.c b/aac-enc-dabplus-zmq.c
index 8d18a23..0994d04 100644
--- a/aac-enc-dabplus-zmq.c
+++ b/aac-enc-dabplus-zmq.c
@@ -211,8 +211,8 @@ int main(int argc, char *argv[]) {
fprintf(stderr, "Error occurred during zmq_socket: %s\n", zmq_strerror(errno));
return 2;
}
- if (zmq_bind(zmq_sock, outuri) != 0) {
- fprintf(stderr, "Error occurred during zmq_bind: %s\n", zmq_strerror(errno));
+ if (zmq_connect(zmq_sock, outuri) != 0) {
+ fprintf(stderr, "Error occurred during zmq_connect: %s\n", zmq_strerror(errno));
return 2;
}
} else {