diff options
author | Nathan Caldwell <saintdev@gmail.com> | 2011-03-08 11:22:14 +0300 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-03-09 01:45:08 +0300 |
commit | 31ff9bd7b8cd8236f70e2bf5368a480fa49f7d27 (patch) | |
tree | f7c65bc5c7931f59b405539f29f8854b884ebda1 /libavcodec/aacenc.c | |
parent | 66e5b1df360a28b083bc9ec5a76e7add5f40ce1f (diff) |
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: Ronald S. Bultje <rsbultje@gmail.com>
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; |