diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-12-16 12:58:25 +0100 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-12-17 20:13:23 +0100 |
commit | fdea35a71b6a175c26bb2e73748e409a986c4458 (patch) | |
tree | 151cf5029c8bfb4a2542d4d6ecfa279bfa46db62 | |
parent | 8f6eb196cdc3a7166ffc40d0134f420fb221f7eb (diff) | |
download | mpv-fdea35a71b6a175c26bb2e73748e409a986c4458.tar.bz2 mpv-fdea35a71b6a175c26bb2e73748e409a986c4458.tar.xz |
ao_coreaudio: add missing goto for error path
-rw-r--r-- | audio/out/ao_coreaudio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |