mirror of https://github.com/mpv-player/mpv
ao_coreaudio_chmap: fix shadowed variable
This commit is contained in:
parent
2e19420756
commit
8657b20574
|
@ -297,9 +297,9 @@ AudioChannelLayout *ca_find_standard_layout(void *talloc_ctx, AudioChannelLayout
|
|||
if (l->mNumberChannelDescriptions != r->mNumberChannelDescriptions)
|
||||
goto mismatch;
|
||||
|
||||
for (int i = 0; i < l->mNumberChannelDescriptions; ++i) {
|
||||
AudioChannelDescription *ld = l->mChannelDescriptions + i;
|
||||
AudioChannelDescription *rd = r->mChannelDescriptions + i;
|
||||
for (int j = 0; j < l->mNumberChannelDescriptions; ++j) {
|
||||
AudioChannelDescription *ld = l->mChannelDescriptions + j;
|
||||
AudioChannelDescription *rd = r->mChannelDescriptions + j;
|
||||
if (ld->mChannelLabel == rd->mChannelLabel)
|
||||
continue;
|
||||
// XXX: we cannot handle channels with coordinates
|
||||
|
|
Loading…
Reference in New Issue