From cd5eb1bb199253747800483203976200e7775617 Mon Sep 17 00:00:00 2001 From: Kevin Mitchell Date: Fri, 15 Jan 2016 18:29:06 -0800 Subject: ao_openal: wipe out global context on init error Previously this would break all further attempts to init the driver after one had failed. --- audio/out/ao_openal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/out/ao_openal.c b/audio/out/ao_openal.c index c6c924b244..72e8799e00 100644 --- a/audio/out/ao_openal.c +++ b/audio/out/ao_openal.c @@ -236,6 +236,7 @@ static int init(struct ao *ao) return 0; err_out: + ao_data = NULL; return -1; } -- cgit v1.2.3