Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
SAT>IP server: try to recover correctly for multiple PLAY commands, f…
…ixes #3750
  • Loading branch information
perexg committed Apr 28, 2016
1 parent 228cf1d commit 5374573
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/satip/rtsp.c
Expand Up @@ -967,7 +967,8 @@ rtsp_parse_cmd
}
*oldstate = rs->state;
dmc = &rs->dmc;
if (rs->mux == NULL) goto end;
if (rs->mux == NULL)
*oldstate = rs->state = STATE_SETUP;
if (!fe) {
fe = rs->frontend;
findex = rs->findex;
Expand Down Expand Up @@ -1346,7 +1347,7 @@ static int
rtsp_process_play(http_connection_t *hc, int setup)
{
session_t *rs;
int errcode = HTTP_STATUS_BAD_REQUEST, valid = 0, oldstate = 0, i, stream;;
int errcode = HTTP_STATUS_BAD_REQUEST, valid = 0, oldstate = 0, i, stream;
char buf[256], *u = tvh_strdupa(hc->hc_url);
http_arg_list_t args;

Expand Down

0 comments on commit 5374573

Please sign in to comment.