herm, "attachment://" is 13 characters, not 15
authorRafaël Carré <funman@videolan.org>
Tue, 11 Mar 2008 18:48:41 +0000 (19:48 +0100)
committerRafaël Carré <funman@videolan.org>
Tue, 11 Mar 2008 18:48:41 +0000 (19:48 +0100)
src/playlist/control.c

index c30c60f..880bdfd 100644 (file)
@@ -503,7 +503,7 @@ int playlist_PlayItem( playlist_t *p_playlist, playlist_item_t *p_item )
         /* p_input->p_meta should not be null after a successfull CreateThread */
         b_has_art = !EMPTY_STR( psz_arturl );
 
-        if( !b_has_art || strncmp( psz_arturl, "attachment://", 15 ) )
+        if( !b_has_art || strncmp( psz_arturl, "attachment://", 13 ) )
         {
             PL_DEBUG( "requesting art for %s", psz_name );
             playlist_AskForArtEnqueue( p_playlist, p_input );