[FFmpeg-cvslog] r21739 - trunk/libavcodec/aac.c

alexc subversion
Wed Feb 10 15:51:57 CET 2010


Author: alexc
Date: Wed Feb 10 15:51:57 2010
New Revision: 21739

Log:
Output the first AAC frame. This is needed for SBR conformance.

Modified:
   trunk/libavcodec/aac.c

Modified: trunk/libavcodec/aac.c
==============================================================================
--- trunk/libavcodec/aac.c	Wed Feb 10 15:25:57 2010	(r21738)
+++ trunk/libavcodec/aac.c	Wed Feb 10 15:51:57 2010	(r21739)
@@ -2008,12 +2008,6 @@ static int aac_decode_frame(AVCodecConte
 
     spectral_to_sample(ac);
 
-    if (!ac->is_saved) {
-        ac->is_saved = 1;
-        *data_size = 0;
-        return buf_size;
-    }
-
     data_size_tmp = 1024 * avccontext->channels * sizeof(int16_t);
     if (*data_size < data_size_tmp) {
         av_log(avccontext, AV_LOG_ERROR,



More information about the ffmpeg-cvslog mailing list