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

There is no "=~" operator in C (it simply means "= ~").

I assume the intent was "&= ~" which is not the same.

Needs review.
parent 950f2927
......@@ -351,7 +351,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_node = playlist_NodeCreate( p_sys->p_playlist, VIEW_CATEGORY,
_("SAP"), p_view->p_root );
p_sys->p_node->i_flags |= PLAYLIST_RO_FLAG;
p_sys->p_node->i_flags =~ PLAYLIST_SKIP_FLAG;
p_sys->p_node->i_flags &= ~PLAYLIST_SKIP_FLAG;
val.b_bool = VLC_TRUE;
var_Set( p_sys->p_playlist, "intf-change", val );
......@@ -841,7 +841,7 @@ sap_announce_t *CreateAnnounce( services_discovery_t *p_sd, uint16_t i_hash,
p_child = playlist_NodeCreate( p_sd->p_sys->p_playlist,
VIEW_CATEGORY, psz_grp,
p_sd->p_sys->p_node );
p_child->i_flags =~ PLAYLIST_SKIP_FLAG;
p_child->i_flags &= ~PLAYLIST_SKIP_FLAG;
}
free( psz_grp );
}
......
......@@ -113,7 +113,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_node = playlist_NodeCreate( p_sys->p_playlist, VIEW_CATEGORY,
_("UPnP"), p_view->p_root );
p_sys->p_node->i_flags |= PLAYLIST_RO_FLAG;
p_sys->p_node->i_flags =~ PLAYLIST_SKIP_FLAG;
p_sys->p_node->i_flags &= ~PLAYLIST_SKIP_FLAG;
val.b_bool = VLC_TRUE;
var_Set( p_sys->p_playlist, "intf-change", val );
......@@ -230,7 +230,7 @@ playlist_item_t *UPnPHandler::AddDevice( Device *dev )
p_item = playlist_NodeCreate( p_sys->p_playlist, VIEW_CATEGORY,
str, p_sys->p_node );
p_item->i_flags =~ PLAYLIST_SKIP_FLAG;
p_item->i_flags &= ~PLAYLIST_SKIP_FLAG;
msg_Dbg( p_sd, "device %s added", str );
free( str );
......
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