Commit 42a3a463 authored by Laurent Aimar's avatar Laurent Aimar

Initialize demux_meta_t before calling "meta reader".

There was a segfault probably due to taglib module changes.
parent cbd6303e
...@@ -2862,7 +2862,7 @@ static void DemuxMeta( input_thread_t *p_input, vlc_meta_t *p_meta, demux_t *p_d ...@@ -2862,7 +2862,7 @@ static void DemuxMeta( input_thread_t *p_input, vlc_meta_t *p_meta, demux_t *p_d
if( !b_bool ) if( !b_bool )
return; return;
p_demux->p_private = malloc( sizeof( demux_meta_t ) ); p_demux->p_private = calloc( 1, sizeof( demux_meta_t ) );
if(! p_demux->p_private ) if(! p_demux->p_private )
return; return;
......
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