Revision 5d6e4c16 libavcodec/amrnbdec.c

View differences:

libavcodec/amrnbdec.c
154 154
    AMRContext *p = avctx->priv_data;
155 155
    int i;
156 156

  
157
    avctx->sample_fmt = SAMPLE_FMT_FLT;
157
    avctx->sample_fmt = AV_SAMPLE_FMT_FLT;
158 158

  
159 159
    // p->excitation always points to the same position in p->excitation_buf
160 160
    p->excitation = &p->excitation_buf[PITCH_DELAY_MAX + LP_FILTER_ORDER + 1];
......
1044 1044
    .init           = amrnb_decode_init,
1045 1045
    .decode         = amrnb_decode_frame,
1046 1046
    .long_name      = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate NarrowBand"),
1047
    .sample_fmts    = (enum SampleFormat[]){SAMPLE_FMT_FLT,SAMPLE_FMT_NONE},
1047
    .sample_fmts    = (enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
1048 1048
};

Also available in: Unified diff