1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02:00

ao_oss: fix previous ao_oss commit

Basically I introduced an inverted condition, and the line removed was
inactive before commit ce72aaa.
This commit is contained in:
wm4 2013-11-06 22:27:14 +01:00
parent 057c2e25b0
commit dbb7927a1e

View File

@ -407,7 +407,6 @@ static void uninit(struct ao *ao, bool immed)
static void close_device(struct ao *ao)
{
struct priv *p = ao->priv;
ioctl(p->audio_fd, SNDCTL_DSP_RESET, NULL);
close(p->audio_fd);
p->audio_fd = -1;
}