[vlc-commits] input: off-by-three

Rémi Denis-Courmont git at videolan.org
Fri Dec 6 14:16:57 CET 2013


vlc/vlc-2.1 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec  6 14:49:13 2013 +0200| [f2304f902add67a45a08988f4d4a5d3ff303b6fb] | committer: Rémi Denis-Courmont

input: off-by-three

(cherry picked from commit dab63843107615358e1dfba2211cfe1deb7967d4)

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

 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 c75c6db..ba8f129 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