lib/media_list_path: remove trailing whitespace
authorFilip Roséen <filip@atch.se>
Wed, 12 Oct 2016 18:08:06 +0000 (20:08 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 13 Oct 2016 09:09:29 +0000 (11:09 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lib/media_list_path.h

index add4f4c..187de55 100644 (file)
@@ -175,7 +175,7 @@ libvlc_media_list_item_at_path( libvlc_media_list_t * p_mlist, const libvlc_medi
 
         p_current_mlist = libvlc_media_subitems( p_md );
         libvlc_media_release( p_md );
+
         if( !p_current_mlist )
             return NULL;
 
@@ -210,7 +210,7 @@ libvlc_media_list_parentlist_at_path( libvlc_media_list_t * p_mlist, const libvl
 
         p_current_mlist = libvlc_media_subitems( p_md );
         libvlc_media_release( p_md );
+
         if( !p_current_mlist )
             return NULL;
 
@@ -232,10 +232,10 @@ libvlc_media_list_sublist_at_path( libvlc_media_list_t * p_mlist, const libvlc_m
     libvlc_media_t * p_md = libvlc_media_list_item_at_path( p_mlist, path );
     if( !p_md )
         return NULL;
+
     ret = libvlc_media_subitems( p_md );
     libvlc_media_release( p_md );
+
     return ret;
 }