Commit 96c8e7b7 authored by Clément Stenac's avatar Clément Stenac

Don't crash on null metas

parent 746198cc
......@@ -821,7 +821,10 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
for( p_0xa9xxx = p_udta->p_first; p_0xa9xxx != NULL;
p_0xa9xxx = p_0xa9xxx->p_next )
{
char *psz_utf = strdup( p_0xa9xxx->data.p_0xa9xxx->psz_text );
char *psz_utf;
if( !p_0xa9xxx || !p_0xa9xxx->data.p_0xa9xxx )
continue;
psz_utf = strdup( p_0xa9xxx->data.p_0xa9xxx->psz_text );
if( psz_utf == NULL )
continue;
/* FIXME FIXME: should convert from whatever the character
......
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