[vlc-devel] commit: input: Remove a tautology in input_item_SetPreparsed. (Pierre d' Herbemont )

git version control git at videolan.org
Sun Aug 3 20:03:28 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Aug  3 19:44:49 2008 +0200| [c1f72dfdc0092000bd06b4abcfbb1f7be9c2159b] | committer: Pierre d'Herbemont 

input: Remove a tautology in input_item_SetPreparsed.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1f72dfdc0092000bd06b4abcfbb1f7be9c2159b
---

 src/input/input_internal.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/input_internal.h b/src/input/input_internal.h
index b0069e7..a848859 100644
--- a/src/input/input_internal.h
+++ b/src/input/input_internal.h
@@ -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;




More information about the vlc-devel mailing list