Package: gkrellm-volume
Version: 2.1.13-1

the attached patch adds a missing initialization of the changed_state
member in the ALSA mixer.

-- 
Jindrich Makovicka
--- alsa_mixer.c.orig   2004-08-19 22:07:27.000000000 +0200
+++ alsa_mixer.c        2006-03-12 15:30:05.774491108 +0100
@@ -118,7 +118,7 @@
   alsaresult->sids =
     (snd_mixer_selem_id_t **) malloc(sizeof(snd_mixer_selem_id_t *) * count);
   alsaresult->ctltype = (int *) malloc(sizeof(int) * count);
-
+  alsaresult->changed_state = 0;
 
   for (elem = snd_mixer_first_elem(handle), i = 0; elem;
        elem = snd_mixer_elem_next(elem)) {

Reply via email to