Commit 2f38e737 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix segmentation fault

parent 7ab18bda
...@@ -328,11 +328,11 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id, ...@@ -328,11 +328,11 @@ static int RtspHandler( rtsp_stream_t *rtsp, rtsp_stream_id_t *id,
httpd_message_t *answer, httpd_message_t *answer,
const httpd_message_t *query ) const httpd_message_t *query )
{ {
sout_stream_t *p_stream = id->stream->owner; sout_stream_t *p_stream = rtsp->owner;
char psz_sesbuf[17]; char psz_sesbuf[17];
const char *psz_session = NULL, *psz; const char *psz_session = NULL, *psz;
if( answer == NULL || query == NULL ) if( answer == NULL || query == NULL || cl == NULL )
return VLC_SUCCESS; return VLC_SUCCESS;
/* */ /* */
......
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