Commit 00c4f687 authored by Rafaël Carré's avatar Rafaël Carré
Browse files

taglib: fix album art segfault

Closes #7775
parent 7751dc1f
......@@ -473,6 +473,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
}
TAB_INIT( p_demux_meta->i_attachments, p_demux_meta->attachments );
if (p_attachment) {
TAB_APPEND_CAST( (input_attachment_t**),
p_demux_meta->i_attachments, p_demux_meta->attachments,
p_attachment );
......@@ -482,6 +483,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
vlc_meta_SetArtURL( p_meta, psz_url );
free( psz_url );
}
}
}
......
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