comparison aacdec.c @ 12148:9a7c4cabbc5a libavcodec

aacdec: Remove the warning about non-meaningful window transitions. It created false positives on seeks and where the first frame is STOP or SHORT. It failed to warn in illegal SHORT->LONG transitions. In general it created much confusion and many junk bug reports from the users.
author alexc
date Mon, 12 Jul 2010 18:24:22 +0000
parents 1e4996a88ca5
children e7634f1b6100
comparison
equal deleted inserted replaced
12147:6d7a12293959 12148:9a7c4cabbc5a
1710 float *temp = ac->temp; 1710 float *temp = ac->temp;
1711 int i; 1711 int i;
1712 1712
1713 // imdct 1713 // imdct
1714 if (ics->window_sequence[0] == EIGHT_SHORT_SEQUENCE) { 1714 if (ics->window_sequence[0] == EIGHT_SHORT_SEQUENCE) {
1715 if (ics->window_sequence[1] == ONLY_LONG_SEQUENCE || ics->window_sequence[1] == LONG_STOP_SEQUENCE)
1716 av_log(ac->avctx, AV_LOG_WARNING,
1717 "Transition from an ONLY_LONG or LONG_STOP to an EIGHT_SHORT sequence detected. "
1718 "If you heard an audible artifact, please submit the sample to the FFmpeg developers.\n");
1719 for (i = 0; i < 1024; i += 128) 1715 for (i = 0; i < 1024; i += 128)
1720 ff_imdct_half(&ac->mdct_small, buf + i, in + i); 1716 ff_imdct_half(&ac->mdct_small, buf + i, in + i);
1721 } else 1717 } else
1722 ff_imdct_half(&ac->mdct, buf, in); 1718 ff_imdct_half(&ac->mdct, buf, in);
1723 1719