Commit 5ccd1fde authored by Anatoliy Anischovich's avatar Anatoliy Anischovich Committed by Rémi Denis-Courmont

vorbis demux: convert generic field names to uppercase (fix #8105)

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 92f7a26a
......@@ -221,6 +221,11 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta,
* undocumented tags and replay gain ) */
char *p = strchr( psz_comment, '=' );
*p++ = '\0';
for( int i = 0; psz_comment[i]; i++ )
if( psz_comment[i] >= 'a' && psz_comment[i] <= 'z' )
psz_comment[i] -= 'a' - 'A';
vlc_meta_AddExtra( p_meta, psz_comment, p );
}
#undef IF_EXTRACT
......
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