]> git.sesse.net Git - vlc/commitdiff
input: Remove a tautology in input_item_SetPreparsed.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 3 Aug 2008 17:44:49 +0000 (19:44 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 3 Aug 2008 18:06:06 +0000 (20:06 +0200)
src/input/input_internal.h

index b0069e7f124d183c002cbb32e39735501603ea7f..a848859e3fcc0a61326df98c48cfeaccf47cf843 100644 (file)
@@ -242,7 +242,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed )
         new_status = p_i->p_meta->i_status | ITEM_PREPARSED;
     else
         new_status = p_i->p_meta->i_status & ~ITEM_PREPARSED;
-    if ( p_i->p_meta->i_status != new_status )
+    if( p_i->p_meta->i_status != new_status )
     {
         p_i->p_meta->i_status = new_status;
         send_event = true;
@@ -250,7 +250,7 @@ static inline void input_item_SetPreparsed( input_item_t *p_i, bool preparsed )
 
     vlc_mutex_unlock( &p_i->lock );
 
-    if ( send_event == true )
+    if( send_event )
     {
         vlc_event_t event;
         event.type = vlc_InputItemPreparsedChanged;