Commit fe403f88 authored by Laurent Aimar's avatar Laurent Aimar

Fixed uninitialized value.

parent 7e8e215d
...@@ -2750,11 +2750,10 @@ static void InputSourceMeta( input_thread_t *p_input, ...@@ -2750,11 +2750,10 @@ static void InputSourceMeta( input_thread_t *p_input,
bool has_meta; bool has_meta;
/* Read access meta */ /* Read access meta */
if( p_access ) has_meta = p_access && !access_Control( p_access, ACCESS_GET_META, p_meta );
has_meta = !access_Control( p_access, ACCESS_GET_META, p_meta );
/* Read demux meta */ /* Read demux meta */
has_meta = (!demux_Control( p_demux, DEMUX_GET_META, p_meta )) || has_meta; has_meta |= !demux_Control( p_demux, DEMUX_GET_META, p_meta );
bool has_unsupported; bool has_unsupported;
if( demux_Control( p_demux, DEMUX_HAS_UNSUPPORTED_META, &has_unsupported ) ) if( demux_Control( p_demux, DEMUX_HAS_UNSUPPORTED_META, &has_unsupported ) )
......
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