Commit 9ffbd8cc authored by alexc's avatar alexc

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21739 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3b791f45
......@@ -2008,12 +2008,6 @@ static int aac_decode_frame(AVCodecContext *avccontext, void *data,
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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment