Revision 5d6e4c16 libavcodec/libopencore-amr.c

View differences:

libavcodec/libopencore-amr.c
32 32
        avctx->channels = 1;
33 33

  
34 34
    avctx->frame_size = 160 * is_amr_wb;
35
    avctx->sample_fmt = SAMPLE_FMT_S16;
35
    avctx->sample_fmt = AV_SAMPLE_FMT_S16;
36 36
}
37 37

  
38 38
#if CONFIG_LIBOPENCORE_AMRNB
......
222 222
    amr_nb_encode_frame,
223 223
    amr_nb_encode_close,
224 224
    NULL,
225
    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
225
    .sample_fmts = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
226 226
    .long_name = NULL_IF_CONFIG_SMALL("OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band"),
227 227
};
228 228

  

Also available in: Unified diff