if (s->oformat) {
av_strlcat(transport, ";mode=receive", sizeof(transport));
} else if (rt->server_type == RTSP_SERVER_REAL ||
- rt->server_type == RTSP_SERVER_WMS)
+ rt->server_type == RTSP_SERVER_WMS)
av_strlcat(transport, ";mode=play", sizeof(transport));
snprintf(cmd, sizeof(cmd),
"SETUP %s RTSP/1.0\r\n"
}
if (s->iformat)
- err = rtsp_setup_input_streams(s);
+ err = rtsp_setup_input_streams(s);
else
err = rtsp_setup_output_streams(s);
if (err)