Commit ea5bd4a4 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

demux: remove unused demux_meta_t.p_demux

parent 6c717962
...@@ -91,7 +91,6 @@ struct demux_t ...@@ -91,7 +91,6 @@ struct demux_t
typedef struct demux_meta_t typedef struct demux_meta_t
{ {
VLC_COMMON_MEMBERS VLC_COMMON_MEMBERS
demux_t *p_demux; /** FIXME: use stream_t instead? */
input_item_t *p_item; /***< the input item that is being read */ input_item_t *p_item; /***< the input item that is being read */
vlc_meta_t *p_meta; /**< meta data */ vlc_meta_t *p_meta; /**< meta data */
......
...@@ -2489,10 +2489,9 @@ static void InputSourceMeta( input_thread_t *p_input, ...@@ -2489,10 +2489,9 @@ static void InputSourceMeta( input_thread_t *p_input,
return; return;
demux_meta_t *p_demux_meta = demux_meta_t *p_demux_meta =
vlc_custom_create( p_demux, sizeof( *p_demux_meta ), "demux meta" ); vlc_custom_create( p_input, sizeof( *p_demux_meta ), "demux meta" );
if( !p_demux_meta ) if( unlikely(p_demux_meta == NULL) )
return; return;
p_demux_meta->p_demux = p_demux;
p_demux_meta->p_item = p_input->p->p_item; p_demux_meta->p_item = p_input->p->p_item;
module_t *p_id3 = module_need( p_demux_meta, "meta reader", NULL, false ); module_t *p_id3 = module_need( p_demux_meta, "meta reader", NULL, false );
......
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