engine: soundlib: mp3: fix check for Unicode in ID3v2.4 TXXX tag
This commit is contained in:
parent
abd7f3dca3
commit
aeece35291
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue