ao_pulse: fix specifying host/sink after 4fed8ad197
commitbb908027178fe8bfd7d6e3fc255dea8c5051cd4a
authorUoti Urpala <uau@mplayer2.org>
Thu, 3 May 2012 20:45:57 +0000 (3 23:45 +0300)
committerUoti Urpala <uau@mplayer2.org>
Thu, 3 May 2012 20:45:57 +0000 (3 23:45 +0300)
tree792a594b271cc8c4303c2a661dfa10ccbe110066
parentf64a4e9931428de0f308f6ed0a0144edb8ce9619
ao_pulse: fix specifying host/sink after 4fed8ad197

Commit 4fed8ad197 ("ao_pulse: convert to new AO API") failed to change
the variable name used on one line in suboption handling. This caused
a crash due to NULL dereference if you tried to specify any suboptions
for the AO (as in "--ao=pulse:foo"). Fix.
libao2/ao_pulse.c