aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aacenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-10-17 13:40:04 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-10-17 18:58:11 +0200
commitc38a6077eea88470280f854a73d17ff25777da29 (patch)
treee3362730f3e3837094a0c5f306de81ea4aae4bb6 /libavcodec/aacenc.c
parent66d36668031ddef04d7a2de4bf2b7f2733136dcf (diff)
downloadffmpeg-c38a6077eea88470280f854a73d17ff25777da29.tar.gz
avcodec/aacenc: Fix "libavcodec/aacenc.c:540:13: warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r--libavcodec/aacenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c
index 78eaf405b9..796038c0da 100644
--- a/libavcodec/aacenc.c
+++ b/libavcodec/aacenc.c
@@ -534,10 +534,10 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
chans = tag == TYPE_CPE ? 2 : 1;
cpe = &s->cpe[i];
for (ch = 0; ch < chans; ch++) {
+ float clip_avoidance_factor;
sce = &cpe->ch[ch];
ics = &sce->ics;
s->cur_channel = start_ch + ch;
- float clip_avoidance_factor;
overlap = &samples[s->cur_channel][0];
samples2 = overlap + 1024;
la = samples2 + (448+64);