Revision 7786c384

View differences:

libavcodec/ac3enc.c
1760 1760

  
1761 1761
    s->mdct.avctx = avctx;
1762 1762
    ret = mdct_init(&s->mdct, 9);
1763
    if (ret) {
1763
    if (ret)
1764 1764
        goto init_fail;
1765
    }
1766 1765

  
1767 1766
    ret = allocate_buffers(avctx);
1768
    if (ret) {
1767
    if (ret)
1769 1768
        goto init_fail;
1770
    }
1771 1769

  
1772 1770
    avctx->coded_frame= avcodec_alloc_frame();
1773 1771

  

Also available in: Unified diff