diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-10-21 16:36:28 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-10-21 16:36:28 +0200 |
commit | b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd (patch) | |
tree | b745d311668ba978eaa08fd4dafe1aa7b74abf29 | |
parent | a1f10615cb36fe78f8af1e76fa91e0969ec3a954 (diff) | |
download | ODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.tar.gz ODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.tar.bz2 ODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.zip |
Remove wrong check that never triggers
-rw-r--r-- | src/Outputs.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Outputs.cpp b/src/Outputs.cpp index ad05f93..d7af7d4 100644 --- a/src/Outputs.cpp +++ b/src/Outputs.cpp @@ -162,9 +162,6 @@ void EDI::add_tcp_destination(const std::string& host, unsigned int port) { auto dest = make_shared<edi::tcp_client_t>(); dest->dest_addr = host; - if (dest->dest_port != 0 and dest->dest_port != port) { - throw runtime_error("All EDI UDP outputs must be to the same destination port"); - } dest->dest_port = port; m_edi_conf.destinations.push_back(dest); |