Revision c41eb2ad

View differences:

libavcodec/amrnbdec.c
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 AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
1047
    .sample_fmts    = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
1048 1048
};
libavcodec/amrwbdec.c
1233 1233
    .init           = amrwb_decode_init,
1234 1234
    .decode         = amrwb_decode_frame,
1235 1235
    .long_name      = NULL_IF_CONFIG_SMALL("Adaptive Multi-Rate WideBand"),
1236
    .sample_fmts    = (enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
1236
    .sample_fmts    = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_FLT,AV_SAMPLE_FMT_NONE},
1237 1237
};
libavcodec/g722.c
577 577
    .close          = g722_close,
578 578
    .encode         = g722_encode_frame,
579 579
    .long_name      = NULL_IF_CONFIG_SMALL("G.722 ADPCM"),
580
    .sample_fmts    = (enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
580
    .sample_fmts    = (const enum AVSampleFormat[]){AV_SAMPLE_FMT_S16,AV_SAMPLE_FMT_NONE},
581 581
};
582 582
#endif
583 583

  
libavcodec/libvo-aacenc.c
122 122
    aac_encode_frame,
123 123
    aac_encode_close,
124 124
    NULL,
125
    .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
125
    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
126 126
    .long_name = NULL_IF_CONFIG_SMALL("libvo-aacenc AAC"),
127 127
};
128 128

  
libavcodec/libvo-amrwbenc.c
120 120
    amr_wb_encode_frame,
121 121
    amr_wb_encode_close,
122 122
    NULL,
123
    .sample_fmts = (enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
123
    .sample_fmts = (const enum SampleFormat[]){SAMPLE_FMT_S16,SAMPLE_FMT_NONE},
124 124
    .long_name = NULL_IF_CONFIG_SMALL("libvo-amrwbenc Adaptive Multi-Rate "
125 125
                                      "(AMR) Wide-Band"),
126 126
};

Also available in: Unified diff