]> code.delx.au - pulseaudio/commit
alsa-mixer: Make sure that SND_MIXER_SCHN_UNKNOWN isn't used when indexing e->masks.
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Wed, 23 Mar 2011 10:03:43 +0000 (12:03 +0200)
committerColin Guthrie <colin@mageia.org>
Wed, 30 Mar 2011 08:21:58 +0000 (09:21 +0100)
commit44623a347de67100e9d1059b682f0dcfb89bd273
tree1cfe3ee9fb7db322a312addcf381657418f38730
parent527078523815587bfd021bc1d10782403e9b3e84
alsa-mixer: Make sure that SND_MIXER_SCHN_UNKNOWN isn't used when indexing e->masks.

SND_MIXER_SCHN_UNKNOWN is defined as -1, so that's not a good array index...
src/modules/alsa/alsa-mixer.c