Skip to content
Snippets Groups Projects
Commit 4ff4411d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

demux: fix missing initializer

parent a34e1a9b
No related branches found
No related tags found
No related merge requests found
......@@ -608,12 +608,14 @@ static bool SkipAPETag( demux_t *p_demux )
unsigned demux_TestAndClearFlags( demux_t *p_demux, unsigned flags )
{
unsigned i_update;
if ( demux_Control( p_demux, DEMUX_TEST_AND_CLEAR_FLAGS, &i_update ) == VLC_SUCCESS )
return i_update;
unsigned ret = p_demux->info.i_update & flags;
unsigned update = flags;
if ( demux_Control( p_demux, DEMUX_TEST_AND_CLEAR_FLAGS, &update ) == VLC_SUCCESS )
return update;
update = p_demux->info.i_update & flags;
p_demux->info.i_update &= ~flags;
return ret;
return update;
}
int demux_GetTitle( demux_t *p_demux )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment