Commit d838e5ce authored by ivoire's avatar ivoire
Browse files

taglib: fix stupid typo (thanks to Sébastien Escudier)

parent 32e3f4a2
......@@ -132,7 +132,7 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_t* p_demux, demux_meta_t*
* terminated string */
char psz_ufid[64];
int max_size = __MIN( p_ufid->identifier().size(), 63);
strncmp( psz_ufid, p_ufid->identifier().data(), max_size );
strncpy( psz_ufid, p_ufid->identifier().data(), max_size );
psz_ufid[max_size] = '\0';
vlc_meta_SetTrackID( p_meta, psz_ufid );
}
......
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