diff options
author | Nathan Caldwell <saintdev@gmail.com> | 2011-03-08 01:22:14 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-03-08 12:39:34 +0100 |
commit | f56c4850e7d3903eb31499edb3ef8352905c6cc2 (patch) | |
tree | 6241d30a05d1c241f0e0e5116dce7a2b1bdca03d /libavcodec/aacenc.c | |
parent | b543e1dccf66804bab2e03d70ebb4b25b324a511 (diff) | |
download | ffmpeg-f56c4850e7d3903eb31499edb3ef8352905c6cc2.tar.gz |
aacenc: Fix a segfault in search_for_quantizers
This reverts the removal of scoefs from AACEncContext.
It resulted in scoefs being a NULL pointer when
search_for_quantizers() is called.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index 17ae6f99d3..0ca390e72b 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -598,7 +598,6 @@ static int aac_encode_frame(AVCodecContext *avctx, } for (j = 0; j < chans; j++) { s->cur_channel = start_ch + j; - s->scoefs = cpe->ch[j].ret; encode_individual_channel(avctx, s, &cpe->ch[j], cpe->common_window); } start_ch += chans; |