Commit a27681ab authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

live555: fix a potential crash introduced by [169ecd7a]

parent 96c9d700
......@@ -548,7 +548,8 @@ describe:
psz_options = p_sys->rtsp->sendOptionsCmd( psz_url, psz_user, psz_pwd,
&authenticator );
p_sys->b_get_param = strstr( psz_options, "GET_PARAMETER" ) ? true : false ;
if( psz_options )
p_sys->b_get_param = strstr( psz_options, "GET_PARAMETER" ) ? true : false ;
delete [] psz_options;
p_sdp = p_sys->rtsp->describeURL( psz_url, &authenticator,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment