aacenc: fix various typos and an error message
Too much copy and pasting. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
This commit is contained in:
parent
fb0abb34cb
commit
6612d04933
@ -408,7 +408,7 @@ static void search_for_quantizers_fast(AVCodecContext *avctx, AACEncContext *s,
|
|||||||
// for values above this the decoder might end up in an endless loop
|
// for values above this the decoder might end up in an endless loop
|
||||||
// due to always having more bits than what can be encoded.
|
// due to always having more bits than what can be encoded.
|
||||||
destbits = FFMIN(destbits, 5800);
|
destbits = FFMIN(destbits, 5800);
|
||||||
//XXX: some heuristic to determine initial quantizers will reduce search time
|
//some heuristic to determine initial quantizers will reduce search time
|
||||||
//determine zero bands and upper limits
|
//determine zero bands and upper limits
|
||||||
for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {
|
for (w = 0; w < sce->ics.num_windows; w += sce->ics.group_len[w]) {
|
||||||
start = 0;
|
start = 0;
|
||||||
|
@ -1001,7 +1001,7 @@ static av_cold int aac_encode_init(AVCodecContext *avctx)
|
|||||||
s->coder = &ff_aac_coders[s->options.coder];
|
s->coder = &ff_aac_coders[s->options.coder];
|
||||||
if (s->options.coder == AAC_CODER_ANMR) {
|
if (s->options.coder == AAC_CODER_ANMR) {
|
||||||
ERROR_IF(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
|
ERROR_IF(avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL,
|
||||||
"The ANMR coder requires -strict -2 and some may be removed in the future\n");
|
"The ANMR coder is considered experimental, add -strict -2 to enable!\n");
|
||||||
s->options.intensity_stereo = 0;
|
s->options.intensity_stereo = 0;
|
||||||
s->options.pns = 0;
|
s->options.pns = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user