Commit c38a6077 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/aacenc: Fix "libavcodec/aacenc.c:540:13: warning: ISO C90 forbids...

avcodec/aacenc: Fix "libavcodec/aacenc.c:540:13: warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 66d36668
...@@ -534,10 +534,10 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, ...@@ -534,10 +534,10 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
chans = tag == TYPE_CPE ? 2 : 1; chans = tag == TYPE_CPE ? 2 : 1;
cpe = &s->cpe[i]; cpe = &s->cpe[i];
for (ch = 0; ch < chans; ch++) { for (ch = 0; ch < chans; ch++) {
float clip_avoidance_factor;
sce = &cpe->ch[ch]; sce = &cpe->ch[ch];
ics = &sce->ics; ics = &sce->ics;
s->cur_channel = start_ch + ch; s->cur_channel = start_ch + ch;
float clip_avoidance_factor;
overlap = &samples[s->cur_channel][0]; overlap = &samples[s->cur_channel][0];
samples2 = overlap + 1024; samples2 = overlap + 1024;
la = samples2 + (448+64); la = samples2 + (448+64);
......
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