input: off-by-three
authorRémi Denis-Courmont <remi@remlab.net>
Fri, 6 Dec 2013 12:49:13 +0000 (14:49 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 6 Dec 2013 12:49:13 +0000 (14:49 +0200)
src/input/es_out.c

index 97e6b65..b48e082 100644 (file)
@@ -1369,7 +1369,7 @@ static void EsOutMeta( es_out_t *p_out, const vlc_meta_t *p_meta )
     {
         input_item_SetArtURL( p_item, psz_arturl );
 
-        if( !strncmp( psz_arturl, "attachment://", strlen("attachment") ) )
+        if( !strncmp( psz_arturl, "attachment://", 13 ) )
         {
             /* Don't look for art cover if sout
              * XXX It can change when sout has meta data support */