[vlc-devel] [PATCH 1/1] live555: avoid NULL dereference if codec undefined
Rémi Denis-Courmont
remi at remlab.net
Wed Dec 31 10:58:29 CET 2014
Le 2014-12-31 07:46, Tristan Matthews a écrit :
> Refs #11938
> ---
> modules/access/live555.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/access/live555.cpp b/modules/access/live555.cpp
> index b14898c..a86c439 100644
> --- a/modules/access/live555.cpp
> +++ b/modules/access/live555.cpp
> @@ -1292,7 +1292,7 @@ static int Demux( demux_t *p_demux )
> {
> bool b;
> es_out_Control( p_demux->out, ES_OUT_GET_ES_STATE,
> tk->p_es, &b );
> - if( !b && tk->b_selected )
> + if( !b && tk->b_selected && p_sys->rtsp )
> {
> tk->b_selected = false;
> p_sys->rtsp->sendTeardownCommand( *tk->sub, NULL );
Seems fine
--
Rémi Denis-Courmont
More information about the vlc-devel
mailing list