History

aacdec: Fix popping channel layouts.

'channel_layout' not 'channels' from the stored configuration should go to AVCodecContext's 'channel_layout'.

Alex Converse committed 14 years ago

Commit 43886ea1 parent 61183b51 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/aacdec.c+1−1
@@ -368,7 +368,7 @@ static void pop_output_configuration(AACContext *ac) { · 367 unmodified lines
368368 if (ac->oc[1].status != OC_LOCKED) {
369369 ac->oc[1] = ac->oc[0];
370370 ac->avctx->channels = ac->oc[1].channels;
371− ac->avctx->channel_layout = ac->oc[1].channels;
371+ ac->avctx->channel_layout = ac->oc[1].channel_layout;
372372 }
373373 }
374374

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t