Commit faf20c79 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

es_out: Don't attempt to read from NULL meta

parent f97ba7b8
......@@ -1484,7 +1484,7 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta, const vlc_meta
vlc_mutex_unlock( &p_item->lock );
/* Check program meta to not override GROUP_META values */
if( (!p_program_meta || vlc_meta_Get( p_program_meta, vlc_meta_Title ) == NULL) &&
if( p_meta && (!p_program_meta || vlc_meta_Get( p_program_meta, vlc_meta_Title ) == NULL) &&
vlc_meta_Get( p_meta, vlc_meta_Title ) != NULL )
input_item_SetName( p_item, vlc_meta_Get( p_meta, vlc_meta_Title ) );
......
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