diff options
author | Alex Converse <alex.converse@gmail.com> | 2009-07-22 03:53:30 +0000 |
---|---|---|
committer | Alex Converse <alex.converse@gmail.com> | 2009-07-22 03:53:30 +0000 |
commit | a62d6cfeff1b5f220ec6d0e545d039f9361674fb (patch) | |
tree | 37237d55069ec6afce6c846fd6b5f78338aff5c3 /libavcodec/aacenc.c | |
parent | 804db4466df4d139a4985df786787263e16540e1 (diff) | |
download | ffmpeg-a62d6cfeff1b5f220ec6d0e545d039f9361674fb.tar.gz |
Be sure to increment our position in the coefficient array when skipping a zero
band in the twoloop scalefactor search.
Originally committed as revision 19480 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aacenc.c')
-rw-r--r-- | libavcodec/aacenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index dfa519059c..cc233dd24d 100644 --- a/libavcodec/aacenc.c +++ b/libavcodec/aacenc.c @@ -193,7 +193,7 @@ static av_cold int aac_encode_init(AVCodecContext *avctx) lengths[1] = ff_aac_num_swb_128[i]; ff_psy_init(&s->psy, avctx, 2, sizes, lengths); s->psypp = ff_psy_preprocess_init(avctx); - s->coder = &ff_aac_coders[0]; + s->coder = &ff_aac_coders[2]; s->lambda = avctx->global_quality ? avctx->global_quality : 120; #if !CONFIG_HARDCODED_TABLES |