Make sink variable local, it is only used in one place

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24947 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-11-03 10:35:03 +00:00
parent c849b6683a
commit a44c9616a8
1 changed files with 1 additions and 3 deletions

View File

@ -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 channels, int format, int flags) {
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, ":");