Revision 084f5c5a

View differences:

libavcodec/ac3enc.c
1322 1322
    frame_bits = process_exponents(s, mdct_coef, exp_shift, exp, exp_strategy, encoded_exp);
1323 1323

  
1324 1324
    compute_bit_allocation(s, bap, encoded_exp, exp_strategy, frame_bits);
1325
    /* everything is known... let's output the frame */
1325

  
1326 1326
    output_frame_header(s, frame);
1327 1327

  
1328 1328
    for (blk = 0; blk < AC3_MAX_BLOCKS; blk++) {
1329 1329
        output_audio_block(s, exp_strategy[blk], encoded_exp[blk],
1330 1330
                           bap[blk], mdct_coef[blk], exp_shift[blk], blk);
1331 1331
    }
1332

  
1332 1333
    output_frame_end(s);
1333 1334

  
1334 1335
    return s->frame_size;

Also available in: Unified diff