Commit 0efd13d6 authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Rémi Duraffort

Taglib: undefined operation due to duplicate usage of var with post-increment

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent ea8227e3
......@@ -135,7 +135,10 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_t* p_demux, demux_meta_t*
int max_size = p_ufid->identifier().size() < 63 ?
p_ufid->identifier().size() : 63;
while( j < max_size )
psz_ufid[j] = p_ufid->identifier()[j++];
{
psz_ufid[j] = p_ufid->identifier()[j];
j++;
}
psz_ufid[j] = '\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