mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-21 20:40:27 +00:00
hd-rum-transcode: exit if serv sock init fails
This commit is contained in:
@@ -1081,6 +1081,9 @@ int main(int argc, char **argv)
|
||||
|
||||
if(params.server_port > 0){
|
||||
state.server_socket = std::shared_ptr<socket_udp>(udp_init("localhost", params.server_port, 0, 255, 0, false), udp_exit);
|
||||
if (!state.server_socket) {
|
||||
EXIT(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
if(params.out_conf.mode == CONFERENCE && !params.conference_compression){
|
||||
|
||||
Reference in New Issue
Block a user