]> git.alsa-project.org Git - alsa-lib.git/commit
Fix bogus value when no user TLV is defined
authorTakashi Iwai <tiwai@suse.de>
Fri, 25 Aug 2006 09:43:22 +0000 (11:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 25 Aug 2006 09:43:22 +0000 (11:43 +0200)
commitd5caee8d369a4293cea958656146f18c705d4c85
treed6bff378c83ab59bf0259bff3a6e3024f57dc80b
parent042df4e80a2e7999cad9973fd030885daa2d7738
Fix bogus value when no user TLV is defined

Check whether non-zero size TLV is really returned by comparing
with the pre-filled pattern.  ALSA 1.0.12 driver doesn't notify
the error even if user TLV is empty, so the previous value is
passed bogusly.
src/control/control.c