Revision cf9cb1f9 libavcodec/dca.c

View differences:

libavcodec/dca.c
1501 1501

  
1502 1502
    if (extensions_mask & DCA_EXT_EXSS_XLL)
1503 1503
        s->profile = FF_PROFILE_DTS_HD_MA;
1504
    else if (extensions_mask & DCA_EXT_EXSS_XBR)
1504
    else if (extensions_mask & (DCA_EXT_EXSS_XBR | DCA_EXT_EXSS_X96 |
1505
                                DCA_EXT_EXSS_XXCH))
1505 1506
        s->profile = FF_PROFILE_DTS_HD_HRA;
1506
    else if (extensions_mask & DCA_EXT_EXSS_X96)
1507
        s->profile = FF_PROFILE_DTS_96_24;
1508
    else if (extensions_mask & DCA_EXT_EXSS_XXCH)
1509
        s->profile = FFMAX(s->profile, FF_PROFILE_DTS_ES);
1510 1507

  
1511 1508
    if (!(extensions_mask & DCA_EXT_CORE))
1512 1509
        av_log(s->avctx, AV_LOG_WARNING, "DTS core detection mismatch.\n");

Also available in: Unified diff