Commit 46c990ea authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

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

(cherry picked from commit a27681ab)
parent 23e81c12
......@@ -551,7 +551,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