Mercurial > libavcodec.hg
changeset 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 | 6d7a12293959 |
children | e7634f1b6100 |
files | aacdec.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/aacdec.c Mon Jul 12 12:32:24 2010 +0000 +++ b/aacdec.c Mon Jul 12 18:24:22 2010 +0000 @@ -1712,10 +1712,6 @@ // imdct if (ics->window_sequence[0] == EIGHT_SHORT_SEQUENCE) { - if (ics->window_sequence[1] == ONLY_LONG_SEQUENCE || ics->window_sequence[1] == LONG_STOP_SEQUENCE) - av_log(ac->avctx, AV_LOG_WARNING, - "Transition from an ONLY_LONG or LONG_STOP to an EIGHT_SHORT sequence detected. " - "If you heard an audible artifact, please submit the sample to the FFmpeg developers.\n"); for (i = 0; i < 1024; i += 128) ff_imdct_half(&ac->mdct_small, buf + i, in + i); } else