ao_coreaudio: add missing goto for error path

This commit is contained in:
Stefano Pigozzi 2014-12-16 12:58:25 +01:00
parent 1e5f9d2673
commit a7e48eca66
1 changed files with 1 additions and 0 deletions

View File

@ -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;