aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-07-12 18:24:22 +0000
committerAlex Converse <alex.converse@gmail.com>2010-07-12 18:24:22 +0000
commit7167bc94cb695a3027aea6aac34a1b040848c7dc (patch)
treecefe92bc6fa0433339c1de376482aca5bb8874fe
parentf2401c214dd4ff3aa80c6d459ad55f0202bb382d (diff)
downloadffmpeg-7167bc94cb695a3027aea6aac34a1b040848c7dc.tar.gz
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. Originally committed as revision 24214 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/aacdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 541c3c783d..f85b29240f 100644
--- a/libavcodec/aacdec.c
+++ b/libavcodec/aacdec.c
@@ -1712,10 +1712,6 @@ static void imdct_and_windowing(AACContext *ac, SingleChannelElement *sce, float
// 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