Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: fix init bug introduced by last commits
  • Loading branch information
perexg committed Nov 30, 2015
1 parent dcc0324 commit bf3c7f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/satip/rtsp.c
Expand Up @@ -1603,15 +1603,15 @@ void satip_server_rtsp_init
rtsp_server = NULL;
reg = 1;
}
if ((s = rtsp_ip) != NULL)
rtsp_ip = strdup(bindaddr);
s = rtsp_ip;
rtsp_ip = strdup(bindaddr);
free(s);
rtsp_port = port;
rtsp_descramble = descramble;
rtsp_rewrite_pmt = rewrite_pmt;
rtsp_muxcnf = muxcnf;
if ((s = rtsp_nat_ip) != NULL)
rtsp_nat_ip = nat_ip ? strdup(nat_ip) : NULL;
s = rtsp_nat_ip;
rtsp_nat_ip = nat_ip ? strdup(nat_ip) : NULL;
free(s);
if (!rtsp_server)
rtsp_server = tcp_server_create("satips", "SAT>IP RTSP", bindaddr, port, &ops, NULL);
Expand Down

0 comments on commit bf3c7f0

Please sign in to comment.