msg_Dbg( p_demux, "connection error %d", i_code );
if( i_code == 403 )
dialog_Fatal( p_demux, _("RTSP connection failed"),
- _("You are not allowed to access this server.") );
+ _("Access to the stream is denied by the server configuration.") );
}
if( p_sys->rtsp ) RTSPClient::close( p_sys->rtsp );
p_sys->rtsp = NULL;
if( p_sys->f_npt_length > 0 )
{
double d_length = p_sys->f_npt_length * 1000000.0;
- /* Not sure if -0.5 is needed, but better be safe */
- if( d_length - 0.5 > INT64_MAX )
+ if( d_length >= INT64_MAX )
*pi64 = INT64_MAX;
else
*pi64 = (int64_t)d_length;