Readibility improvement.
authorJean-Paul Saman <jpsaman@videolan.org>
Tue, 10 Jun 2008 13:54:25 +0000 (15:54 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Sat, 14 Jun 2008 08:09:06 +0000 (10:09 +0200)
src/playlist/item.c

index 29b352a..c638677 100644 (file)
@@ -367,7 +367,7 @@ int playlist_AddExt( playlist_t *p_playlist, const char * psz_uri,
 
     i_ret = playlist_AddInput( p_playlist, p_input, i_mode, i_pos, b_playlist,
                                b_locked );
-    int i_id = i_ret == VLC_SUCCESS ? p_input->i_id : -1;
+    int i_id = (i_ret == VLC_SUCCESS) ? p_input->i_id : -1;
 
     vlc_gc_decref( p_input );