static int amr_wb_encode_frame(AVCodecContext *avctx,

                            unsigned char *frame/*out*/, int buf_size, void *data/*in*/)

{

    AMRWBContext *s;

    int size;

    s = (AMRWBContext*) avctx->priv_data;

    s->mode=getWBBitrateMode(avctx->bit_rate);

    size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);

    return size;

}

static int amr_wb_encode_frame(AVCodecContext *avctx,

                            unsigned char *frame, int buf_size, void *data)

{

    AMRWBContext *s;

    int size;

    s = (AMRWBContext*) avctx->priv_data;

    s->mode=getWBBitrateMode(avctx->bit_rate);

    size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);

    return size;

}

static int FUNC_0(AVCodecContext *VAR_0,

                            unsigned char *VAR_1, int VAR_2, void *VAR_3)

{

    AMRWBContext *s;

    int VAR_4;

    s = (AMRWBContext*) VAR_0->priv_data;

    s->mode=getWBBitrateMode(VAR_0->bit_rate);

    VAR_4 = E_IF_encode(s->state, s->mode, VAR_3, VAR_1, s->allow_dtx);

    return VAR_4;

}

static int FUNC_0(AVCodecContext *VAR_0,
unsigned char *VAR_1, int VAR_2, void *VAR_3)
{ AMRWBContext *s; int VAR_4; s = (AMRWBContext*) VAR_0->priv_data; s->mode=getWBBitrateMode(VAR_0->bit_rate); VAR_4 = E_IF_encode(s->state, s->mode, VAR_3, VAR_1, s->allow_dtx); return VAR_4; }