Revision bec37145

View differences:

libavcodec/ac3dec.c
1334 1334

  
1335 1335
    if(acmod == AC3_ACMOD_DUALMONO) { /* dynamic range 1+1 mode */
1336 1336
        if(get_bits1(gb)) {
1337
        dynrng = get_sbits(gb, 8);
1338
        ctx->dynrng2 = ((((dynrng & 0x1f) | 0x20) << 13) * scale_factors[3 - (dynrng >> 5)]);
1337
            dynrng = get_sbits(gb, 8);
1338
            ctx->dynrng2 = ((((dynrng & 0x1f) | 0x20) << 13) * scale_factors[3 - (dynrng >> 5)]);
1339 1339
        } else if(blk == 0) {
1340 1340
            ctx->dynrng2 = 1.0;
1341 1341
        }

Also available in: Unified diff