[MPlayer-cvslog] r24947 - trunk/libao2/ao_pulse.c
reimar
subversion at mplayerhq.hu
Sat Nov 3 11:35:04 CET 2007
Author: reimar
Date: Sat Nov 3 11:35:03 2007
New Revision: 24947
Log:
Make sink variable local, it is only used in one place
Modified:
trunk/libao2/ao_pulse.c
Modified: trunk/libao2/ao_pulse.c
==============================================================================
--- trunk/libao2/ao_pulse.c (original)
+++ trunk/libao2/ao_pulse.c Sat Nov 3 11:35:03 2007
@@ -39,9 +39,6 @@ static ao_info_t info = {
""
};
-/** The sink to connect to */
-static char *sink;
-
/** PulseAudio playback stream object */
static struct pa_stream *stream;
@@ -126,6 +123,7 @@ static int init(int rate_hz, int channel
struct pa_channel_map map;
const struct format_map_s *fmt_map;
char *host = NULL;
+ char *sink = NULL;
if (ao_subdevice) {
int i = strcspn(ao_subdevice, ":");
More information about the MPlayer-cvslog
mailing list