You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-30 22:24:04 +02:00
Output the first AAC frame. This is needed for SBR conformance.
Originally committed as revision 21739 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -2008,12 +2008,6 @@ static int aac_decode_frame(AVCodecContext *avccontext, void *data,
|
|||||||
|
|
||||||
spectral_to_sample(ac);
|
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);
|
data_size_tmp = 1024 * avccontext->channels * sizeof(int16_t);
|
||||||
if (*data_size < data_size_tmp) {
|
if (*data_size < data_size_tmp) {
|
||||||
av_log(avccontext, AV_LOG_ERROR,
|
av_log(avccontext, AV_LOG_ERROR,
|
||||||
|
Reference in New Issue
Block a user