Changeset b9d8af03 in ffmpeg


Ignore:
Timestamp:
Dec 18, 2011, 2:25:25 PM (13 years ago)
Author:
Carl Eugen Hoyos <cehoyos@ag.or.at>
Branches:
master
Children:
1af0ace3
Parents:
9a972b51
git-author:
Hendrik Leppkes <h.leppkes@gmail.com> (12/18/11 14:25:25)
git-committer:
Carl Eugen Hoyos <cehoyos@ag.or.at> (12/18/11 14:25:25)
Message:

mlpdec: fix channel order for wide 7.1 truehd layouts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/mlpdec.c

    r9a972b51 rb9d8af03  
    477477    }
    478478    if (m->avctx->codec_id == CODEC_ID_TRUEHD &&
    479         m->avctx->channel_layout == AV_CH_LAYOUT_7POINT1) {
     479        (m->avctx->channel_layout == AV_CH_LAYOUT_7POINT1 ||
     480        m->avctx->channel_layout == AV_CH_LAYOUT_7POINT1_WIDE)) {
    480481        FFSWAP(int, s->ch_assign[4], s->ch_assign[6]);
    481482        FFSWAP(int, s->ch_assign[5], s->ch_assign[7]);
Note: See TracChangeset for help on using the changeset viewer.