Commit cd32fef1 authored by gpoirier's avatar gpoirier

Fix declaration and code thingie


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7140 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0f03282a
......@@ -625,8 +625,9 @@ static int amr_wb_encode_close(AVCodecContext * avctx)
static int amr_wb_encode_frame(AVCodecContext *avctx,
unsigned char *frame/*out*/, int buf_size, void *data/*in*/)
{
AMRWBContext *s = (AMRWBContext*) avctx->priv_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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment