You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/aacenc: Fix "libavcodec/aacenc.c:540:13: warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user