]> git.sesse.net Git - vlc/commitdiff
MP4: fix a typo
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 12 Sep 2011 18:34:35 +0000 (20:34 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 12 Sep 2011 18:35:06 +0000 (20:35 +0200)
modules/demux/mp4/drms.c

index 489d287d470e02721c144d023adc01db433238c5..d816758b55f83a887241bb102d6c608f9f21a356 100644 (file)
@@ -1566,7 +1566,7 @@ static int GetSCIData( char *psz_ipod, uint32_t **pp_sci,
 #ifdef WIN32
         const char *SCIfile =
         "\\Apple Computer\\iTunes\\SC Info\\SC Info.sidb";
-        strncpy(p_tmp, config_GetConfDir(), sizeof(p_tmp -1));
+        strncpy( p_tmp, config_GetConfDir(), sizeof(p_tmp) - 1 );
         if( strlen( p_tmp ) + strlen( SCIfile ) >= PATH_MAX )
             return -1;
         strcat(p_tmp, SCIfile);