[MPlayer-cvslog] r30442 - trunk/libao2/ao_alsa.c

reimar subversion at mplayerhq.hu
Wed Jan 27 19:16:41 CET 2010


Author: reimar
Date: Wed Jan 27 19:16:41 2010
New Revision: 30442

Log:
Do not needlessly make local variable static.

Modified:
   trunk/libao2/ao_alsa.c

Modified: trunk/libao2/ao_alsa.c
==============================================================================
--- trunk/libao2/ao_alsa.c	Wed Jan 27 19:11:15 2010	(r30441)
+++ trunk/libao2/ao_alsa.c	Wed Jan 27 19:16:41 2010	(r30442)
@@ -115,9 +115,9 @@ static int control(int cmd, void *arg)
       snd_mixer_elem_t *elem;
       snd_mixer_selem_id_t *sid;
 
-      static char *mix_name = "PCM";
-      static char *card = "default";
-      static int mix_index = 0;
+      char *mix_name = "PCM";
+      char *card = "default";
+      int mix_index = 0;
 
       long pmin, pmax;
       long get_vol, set_vol;


More information about the MPlayer-cvslog mailing list