diff options
author | phintuka <phintuka> | 2007-06-11 19:26:39 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-06-11 19:26:39 +0000 |
commit | 19054053d8be3acf988b2983d467b8790d46810c (patch) | |
tree | b4aec878ffc24e6ee37d86b790b6a0647ec033a5 | |
parent | 68b7fbb752b6ac303fdbe645cd93cdb60eb4cd3a (diff) | |
download | xineliboutput-19054053d8be3acf988b2983d467b8790d46810c.tar.gz xineliboutput-19054053d8be3acf988b2983d467b8790d46810c.tar.bz2 |
Fix condition (based on gcc 4.3 warning)
-rw-r--r-- | frontend_svr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/frontend_svr.c b/frontend_svr.c index 6f64d31f..5cbfb936 100644 --- a/frontend_svr.c +++ b/frontend_svr.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: frontend_svr.c,v 1.41 2007-06-11 19:03:14 phintuka Exp $ + * $Id: frontend_svr.c,v 1.42 2007-06-11 19:26:39 phintuka Exp $ * */ @@ -1463,9 +1463,9 @@ void cXinelibServer::Handle_Control_RTSP(int cli, const char *arg) cHeader *transport = m_State[cli]->Header("Transport"); int urtp=0, mrtp=0, tcp=0; if(transport && - (strstr(transport->Value(), "RTP/AVP;multicast") && (mrtp=1)) || - (strstr(transport->Value(), "RTP/AVP;unicast") && (urtp=1)) || - (strstr(transport->Value(), "RTP/AVP;interleaved") && (tcp=1))) { + ( (strstr(transport->Value(), "RTP/AVP;multicast") && (mrtp=1)) || + (strstr(transport->Value(), "RTP/AVP;unicast") && (urtp=1)) || + (strstr(transport->Value(), "RTP/AVP;interleaved") && (tcp=1)))) { //if(!mrtp) // sprintf(buf, "RTSP/1.0 461 Unsupported transport\r\n" RTSP_H_CSEQ RTSP_OK_FIN); //else |