From: Jean-Baptiste Kempf Date: Mon, 12 Sep 2011 18:34:35 +0000 (+0200) Subject: MP4: fix a typo X-Git-Tag: 1.2.0-pre1~757 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=80676aa4a6833ce7ec4196d6492ea01fd74422b4;p=vlc MP4: fix a typo --- diff --git a/modules/demux/mp4/drms.c b/modules/demux/mp4/drms.c index 489d287d47..d816758b55 100644 --- a/modules/demux/mp4/drms.c +++ b/modules/demux/mp4/drms.c @@ -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);