mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
ByteVector works on chars, not unsigned chars, so there needs to be a cast before the comparison
This commit is contained in:
parent
bb25953767
commit
019fe4843f
@ -240,7 +240,8 @@ void IT::File::read(bool)
|
||||
// But this always gives 64 channels for all my files anyway.
|
||||
// Strangely VLC does report other values. I wonder how VLC
|
||||
// gets it's values.
|
||||
if(pannings[i] < 128 && volumes[i] > 0) ++ channels;
|
||||
if((unsigned char) pannings[i] < 128 && volumes[i] > 0)
|
||||
++channels;
|
||||
}
|
||||
d->properties.setChannels(channels);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user