提交 41b8800f 编写于 作者: B Baptiste Coudurier

merge init with declaration

Originally committed as revision 12998 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 f91c0898
......@@ -2566,15 +2566,13 @@ static int decode_frame_mp3on4(AVCodecContext * avctx,
{
MP3On4DecodeContext *s = avctx->priv_data;
MPADecodeContext *m;
int len, fsize, out_size = 0;
int fsize, len = buf_size, out_size = 0;
uint32_t header;
OUT_INT *out_samples = data;
OUT_INT decoded_buf[MPA_FRAME_SIZE * MPA_MAX_CHANNELS];
OUT_INT *outptr, *bp;
int fr, j, n;
len = buf_size;
*data_size = 0;
// Discard too short frames
if (buf_size < HEADER_SIZE)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册