[FFmpeg-cvslog] r24214 - trunk/libavcodec/aacdec.c

alexc subversion
Mon Jul 12 20:24:22 CEST 2010


Author: alexc
Date: Mon Jul 12 20:24:22 2010
New Revision: 24214

Log:
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.

Modified:
   trunk/libavcodec/aacdec.c

Modified: trunk/libavcodec/aacdec.c
==============================================================================
--- trunk/libavcodec/aacdec.c	Mon Jul 12 14:32:24 2010	(r24213)
+++ trunk/libavcodec/aacdec.c	Mon Jul 12 20:24:22 2010	(r24214)
@@ -1712,10 +1712,6 @@ static void imdct_and_windowing(AACConte
 
     // 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



More information about the ffmpeg-cvslog mailing list