projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0332324
)
Output the first AAC frame. This is needed for SBR conformance.
author
Alex Converse
<alex.converse@gmail.com>
Wed, 10 Feb 2010 14:51:57 +0000
(14:51 +0000)
committer
Alex Converse
<alex.converse@gmail.com>
Wed, 10 Feb 2010 14:51:57 +0000
(14:51 +0000)
Originally committed as revision 21739 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/aac.c
patch
|
blob
|
history
diff --git
a/libavcodec/aac.c
b/libavcodec/aac.c
index
0fbab77
..
90581fc
100644
(file)
--- 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,