[vlc-devel] commit: herm, "attachment://" is 13 characters, not 15 ( Rafaël Carré )

git version control git at videolan.org
Tue Mar 11 20:16:10 CET 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Mar 11 19:48:41 2008 +0100| [5fad05019f7b6cd5623512b3a2ac05c3ca1f717d]

herm, "attachment://" is 13 characters, not 15

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

 src/playlist/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/playlist/control.c b/src/playlist/control.c
index c30c60f..880bdfd 100644
--- a/src/playlist/control.c
+++ b/src/playlist/control.c
@@ -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 );




More information about the vlc-devel mailing list