From a7e48eca6661e7a414041dd0d44983aff8deb582 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 16 Dec 2014 12:58:25 +0100 Subject: ao_coreaudio: add missing goto for error path --- audio/out/ao_coreaudio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'audio') diff --git a/audio/out/ao_coreaudio.c b/audio/out/ao_coreaudio.c index fda12391ae..47ad69b415 100644 --- a/audio/out/ao_coreaudio.c +++ b/audio/out/ao_coreaudio.c @@ -431,6 +431,7 @@ bool ca_layout_to_mp_chmap(struct ao *ao, AudioChannelLayout *layout, if (speaker < 0) { MP_VERBOSE(ao, "channel label=%u unusable to build channel " "bitmap, skipping layout\n", (unsigned) label); + goto coreaudio_error; } else { chmap->speaker[n] = speaker; chmap->num = n + 1; -- cgit v1.2.3