aboutsummaryrefslogtreecommitdiffstats
path: root/src/Outputs.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-21 16:36:28 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-10-21 16:36:28 +0200
commitb6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd (patch)
treeb745d311668ba978eaa08fd4dafe1aa7b74abf29 /src/Outputs.cpp
parenta1f10615cb36fe78f8af1e76fa91e0969ec3a954 (diff)
downloadODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.tar.gz
ODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.tar.bz2
ODR-AudioEnc-b6b6dcf1ca0a85d69346d85e4f6aa7f17503b3fd.zip
Remove wrong check that never triggers
Diffstat (limited to 'src/Outputs.cpp')
-rw-r--r--src/Outputs.cpp3
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);