[vlc-commits] input: off-by-three
    Rémi Denis-Courmont 
    git at videolan.org
       
    Fri Dec  6 13:49:29 CET 2013
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec  6 14:49:13 2013 +0200| [dab63843107615358e1dfba2211cfe1deb7967d4] | committer: Rémi Denis-Courmont
input: off-by-three
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dab63843107615358e1dfba2211cfe1deb7967d4
---
 src/input/es_out.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/input/es_out.c b/src/input/es_out.c
index 97e6b65..b48e082 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -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 */
    
    
More information about the vlc-commits
mailing list