Hello community, here is the log from the commit of package alsa for openSUSE:Factory checked in at 2012-08-04 08:59:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/alsa (Old) and /work/SRC/openSUSE:Factory/.alsa.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "alsa", Maintainer is "ti...@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/alsa/alsa.changes 2012-07-02 10:08:41.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.alsa.new/alsa.changes 2012-08-04 08:59:52.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jul 5 10:11:35 CEST 2012 - ti...@suse.de + +- Fix useless assert in hctl, backport from upstream + +------------------------------------------------------------------- New: ---- 0016-hctl-Remove-a-useless-assert.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ alsa.spec ++++++ --- /var/tmp/diff_new_pack.CgQOct/_old 2012-08-04 08:59:59.000000000 +0200 +++ /var/tmp/diff_new_pack.CgQOct/_new 2012-08-04 08:59:59.000000000 +0200 @@ -68,6 +68,7 @@ Patch13: 0013-tlv-improve-robustness-of-raw-value-ranges.patch Patch14: 0014-conf-Add-more-USB-devices-to-S-PDIF-blacklist.patch Patch15: 0015-Fix-the-binary-compatibility-of-ext-ctl-plugin-with-.patch +Patch16: 0016-hctl-Remove-a-useless-assert.patch Patch99: alsa-lib-doxygen-avoid-crash-for-11.3.diff Url: http://www.alsa-project.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -133,6 +134,7 @@ %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 %if %suse_version == 1130 %patch99 -p1 %endif ++++++ 0016-hctl-Remove-a-useless-assert.patch ++++++ >From 86e27cdbf119440101a850e1b44baebfefe863ca Mon Sep 17 00:00:00 2001 From: Martin Sandsmark <martin.sandsm...@kde.org> Date: Thu, 5 Jul 2012 09:40:07 +0200 Subject: [PATCH] hctl: Remove a useless assert The case where the element is unavailable (for example gone away since the event was created) is handled beneath. See also bug 5471. https://bugtrack.alsa-project.org/alsa-bug/view.php?id=5471 Signed-off-by: Takashi Iwai <ti...@suse.de> --- src/control/hcontrol.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/control/hcontrol.c b/src/control/hcontrol.c index 8ffc434..ee1d907 100644 --- a/src/control/hcontrol.c +++ b/src/control/hcontrol.c @@ -761,7 +761,6 @@ static int snd_hctl_handle_event(snd_hctl_t *hctl, snd_ctl_event_t *event) if (event->data.elem.mask & (SNDRV_CTL_EVENT_MASK_VALUE | SNDRV_CTL_EVENT_MASK_INFO)) { elem = snd_hctl_find_elem(hctl, &event->data.elem.id); - assert(elem); if (!elem) return -ENOENT; res = snd_hctl_elem_throw_event(elem, event->data.elem.mask & -- 1.7.10.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org