main: removed unused RTSP code

This commit is contained in:
Martin Pulec
2014-07-28 16:29:40 +02:00
parent e7eb6a69e8
commit e99fbcc459

View File

@@ -435,7 +435,6 @@ int main(int argc, char *argv[])
const char *requested_audio_fec = DEFAULT_AUDIO_FEC;
char *audio_channel_map = NULL;
const char *audio_scale = "mixauto";
rtsp_serv_t* rtsp_server = NULL;
int rtsp_port = 0;
bool isStd = FALSE;
int recv_port_number = PORT_BASE;
@@ -1109,10 +1108,6 @@ cleanup:
vidcap_params_head = next;
}
#ifdef HAVE_RTSP_SERVER
if(rtsp_server) c_stop_server(rtsp_server);
#endif
module_done(&root_mod);
free(uv);
@@ -1121,7 +1116,7 @@ cleanup:
#endif
#ifdef WIN32
WSACleanup();
WSACleanup();
#endif
printf("Exit\n");