Commit 80676aa4 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MP4: fix a typo

parent 79bfcece
...@@ -1566,7 +1566,7 @@ static int GetSCIData( char *psz_ipod, uint32_t **pp_sci, ...@@ -1566,7 +1566,7 @@ static int GetSCIData( char *psz_ipod, uint32_t **pp_sci,
#ifdef WIN32 #ifdef WIN32
const char *SCIfile = const char *SCIfile =
"\\Apple Computer\\iTunes\\SC Info\\SC Info.sidb"; "\\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 ) if( strlen( p_tmp ) + strlen( SCIfile ) >= PATH_MAX )
return -1; return -1;
strcat(p_tmp, SCIfile); strcat(p_tmp, SCIfile);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment