]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: ioplug,extplug: Fix logic errors in type checks
authorTakashi Iwai <tiwai@suse.de>
Tue, 8 Sep 2015 18:57:47 +0000 (20:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Sep 2015 18:57:47 +0000 (20:57 +0200)
commitfe8bb1fe02f9c7b7cb6048a17a8ff1ea30f97fc8
tree414f15a209c49391de50650c9716a37fe5f81330
parent3313f8740d936b1dbc6391ce3227ba467c6f603d
pcm: ioplug,extplug: Fix logic errors in type checks

A few error checks are wrongly performed with logical and (&&) instead
of logical or (||), which condition never met.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_extplug.c
src/pcm/pcm_ioplug.c