summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2010-02-10 14:51:57 +0000
committerAlex Converse <alex.converse@gmail.com>2010-02-10 14:51:57 +0000
commit1edea057dd678cc34b6f0b81430ea17d4aa2b6ac (patch)
tree96200b392ccbccc26a65db7e1e21b4668aeed44b
parent0332324a48c8571ff30b50c194e68bf04a3e3f2b (diff)
Output the first AAC frame. This is needed for SBR conformance.
Originally committed as revision 21739 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/aac.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c
index 0fbab77367..90581fc6d7 100644
--- a/libavcodec/aac.c
+++ b/libavcodec/aac.c
@@ -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,