mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-24 13:54:15 +00:00
engine: soundlib: mp3: fix check for Unicode in ID3v2.4 TXXX tag
This commit is contained in:
parent
abd7f3dca3
commit
aeece35291
@ -85,7 +85,7 @@ static qboolean Sound_ParseID3Frame( const did3v2_frame_t *frame, const byte *bu
|
||||
string key, value;
|
||||
int32_t key_len, value_len;
|
||||
|
||||
if( buffer[0] == 0x00 || buffer[1] == 0x03 )
|
||||
if( buffer[0] == 0x00 || buffer[0] == 0x03 )
|
||||
{
|
||||
key_len = Q_strncpy( key, &buffer[1], sizeof( key ));
|
||||
value_len = frame_length - (1 + key_len + 1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user