Mercurial > mplayer.hg
changeset 24919:51372a34bc7d
Make sink variable local, it is only used in one place
author | reimar |
---|---|
date | Sat, 03 Nov 2007 10:35:03 +0000 |
parents | 9d1af7d2a7fc |
children | 12dc34b2e41c |
files | libao2/ao_pulse.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libao2/ao_pulse.c Sat Nov 03 10:20:00 2007 +0000 +++ b/libao2/ao_pulse.c Sat Nov 03 10:35:03 2007 +0000 @@ -39,9 +39,6 @@ "" }; -/** The sink to connect to */ -static char *sink; - /** PulseAudio playback stream object */ static struct pa_stream *stream; @@ -126,6 +123,7 @@ 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, ":");