Revision 5d6e4c16 libavcodec/alsdec.c

View differences:

libavcodec/alsdec.c
1573 1573
        ff_bgmc_init(avctx, &ctx->bgmc_lut, &ctx->bgmc_lut_status);
1574 1574

  
1575 1575
    if (sconf->floating) {
1576
        avctx->sample_fmt          = SAMPLE_FMT_FLT;
1576
        avctx->sample_fmt          = AV_SAMPLE_FMT_FLT;
1577 1577
        avctx->bits_per_raw_sample = 32;
1578 1578
    } else {
1579 1579
        avctx->sample_fmt          = sconf->resolution > 1
1580
                                     ? SAMPLE_FMT_S32 : SAMPLE_FMT_S16;
1580
                                     ? AV_SAMPLE_FMT_S32 : AV_SAMPLE_FMT_S16;
1581 1581
        avctx->bits_per_raw_sample = (sconf->resolution + 1) * 8;
1582 1582
    }
1583 1583

  

Also available in: Unified diff