initialize 'vol' variable to prevent crashes/assertion failures trying to

2007-01-30  Jens Granseuer  <jensgr@gmx.net>
                                           
        * actions/acme-volume-gstreamer.c: (update_state): initialize 'vol'
        variable to prevent crashes/assertion failures trying to set
        ridiculously high/low volume (fixes bug #401376)

svn path=/trunk/; revision=7207
This commit is contained in:
Jens Granseuer 2007-01-30 17:26:39 +00:00 committed by Jens Granseuer
parent f3f24bbbc5
commit 5332e54d66
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-01-30 Jens Granseuer <jensgr@gmx.net>
* actions/acme-volume-gstreamer.c: (update_state): initialize 'vol'
variable to prevent crashes/assertion failures trying to set
ridiculously high/low volume (fixes bug #401376)
2007-01-29 Kjartan Maraas <kmaraas@gnome.org>
* gnome-settings-background.c:

View file

@ -133,7 +133,7 @@ static void
update_state (AcmeVolumeGStreamer * self)
{
gint *volumes, n;
gdouble vol;
gdouble vol = 0;
GstMixerTrack *track = GST_MIXER_TRACK(self->_priv->mixer_tracks->data);
/* update mixer by getting volume */