Revision 56e4603e

View differences:

libavcodec/dca.c
612 612
    }
613 613
    for (j = 0; j < s->prim_channels; j++) {
614 614
        if (s->joint_intensity[j] > 0) {
615
            int source_channel = s->joint_intensity[j] - 1;
615 616
            av_log(s->avctx, AV_LOG_DEBUG, "Joint scale factor index:\n");
616 617
            for (k = s->subband_activity[j]; k < s->subband_activity[source_channel]; k++)
617 618
                av_log(s->avctx, AV_LOG_DEBUG, " %i", s->joint_scale_factor[j][k]);
......
630 631
        for (k = s->vq_start_subband[j]; k < s->subband_activity[j]; k++)
631 632
            av_log(s->avctx, AV_LOG_DEBUG, "VQ index: %i\n", s->high_freq_vq[j][k]);
632 633
    if(s->lfe){
634
        int lfe_samples = 2 * s->lfe * s->subsubframes;
633 635
        av_log(s->avctx, AV_LOG_DEBUG, "LFE samples:\n");
634 636
        for (j = lfe_samples; j < lfe_samples * 2; j++)
635 637
            av_log(s->avctx, AV_LOG_DEBUG, " %f", s->lfe_data[j]);

Also available in: Unified diff