commit | a5cd9c49bcb56a12f04555cc218c4a940a579a4e | [log] [tgz] |
---|---|---|
author | jwalczak <jwalczak@opera.com> | Fri Aug 26 11:16:22 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Aug 26 11:18:03 2016 |
tree | 64fb0fc4070f9510da743c27a05321707207e8cc | |
parent | e2fd3f4dfb0e57e7086ca680bfe73c7cf290496d [diff] |
Fix channel mapping for 8-ch audio in ffmpeg_aac_bitstream_converter FFmpeg's AVCodecContext->channels contains "raw number of channels" (e.g. "2" for 2 channels, "8" for 8 channels). The change ensures that: - the value of "8" is correctly mapped to 0b111 ADTS channel config (aka MPEG-4 Channel Configuration), - the value of "7" becomes unsupported. BUG=640610 Review-Url: https://codereview.chromium.org/2273203003 Cr-Commit-Position: refs/heads/master@{#414685}