You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
Fix declaration and code thingie
Originally committed as revision 7140 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -625,8 +625,9 @@ static int amr_wb_encode_close(AVCodecContext * avctx)
|
|||||||
static int amr_wb_encode_frame(AVCodecContext *avctx,
|
static int amr_wb_encode_frame(AVCodecContext *avctx,
|
||||||
unsigned char *frame/*out*/, int buf_size, void *data/*in*/)
|
unsigned char *frame/*out*/, int buf_size, void *data/*in*/)
|
||||||
{
|
{
|
||||||
AMRWBContext *s = (AMRWBContext*) avctx->priv_data;
|
AMRWBContext *s;
|
||||||
int size;
|
int size;
|
||||||
|
s = (AMRWBContext*) avctx->priv_data;
|
||||||
s->mode=getWBBitrateMode(avctx->bit_rate);
|
s->mode=getWBBitrateMode(avctx->bit_rate);
|
||||||
size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);
|
size = E_IF_encode(s->state, s->mode, data, frame, s->allow_dtx);
|
||||||
return size;
|
return size;
|
||||||
|
Reference in New Issue
Block a user