Revision 02c63a10 libavcodec/libvo-amrwbenc.c

View differences:

libavcodec/libvo-amrwbenc.c
33 33
    int    allow_dtx;
34 34
} AMRWBContext;
35 35

  
36
static int getWBBitrateMode(int bitrate)
36
static int get_wb_bitrate_mode(int bitrate)
37 37
{
38 38
    /* make the correspondance between bitrate and mode */
39 39
    static const int rates[] = {  6600,  8850, 12650, 14250, 15850, 18250,
......
61 61
        return AVERROR(ENOSYS);
62 62
    }
63 63

  
64
    if ((s->mode = getWBBitrateMode(avctx->bit_rate)) < 0) {
64
    if ((s->mode = get_wb_bitrate_mode(avctx->bit_rate)) < 0) {
65 65
        av_log(avctx, AV_LOG_ERROR, wb_bitrate_unsupported);
66 66
        return AVERROR(ENOSYS);
67 67
    }
......
91 91
    AMRWBContext *s = avctx->priv_data;
92 92
    int size;
93 93

  
94
    if ((s->mode = getWBBitrateMode(avctx->bit_rate)) < 0) {
94
    if ((s->mode = get_wb_bitrate_mode(avctx->bit_rate)) < 0) {
95 95
        av_log(avctx, AV_LOG_ERROR, wb_bitrate_unsupported);
96 96
        return AVERROR(ENOSYS);
97 97
    }

Also available in: Unified diff