]> git.sesse.net Git - ffmpeg/commit
aacenc: Fix determination of Mid/Side Mode.
authorNathan Caldwell <saintdev@gmail.com>
Wed, 29 Jun 2011 03:11:39 +0000 (21:11 -0600)
committerAlex Converse <alex.converse@gmail.com>
Wed, 29 Jun 2011 21:28:53 +0000 (14:28 -0700)
commit98add74e85967441d6b7263d1eee79aa2d98cd82
tree86b1f64ad436fab0c52361d6571a7e21c30ba6e3
parentd3a6c2ab7e76f12f56932a087266b082dc1dc39b
aacenc: Fix determination of Mid/Side Mode.

In adjust_frame_information(), msc is incremented for each sfb in each
sub-window then compared against max_sfb which is for a single sub-window.

This resulted in frames using EIGHT_SHORT_SEQUENCE where the first few
sub-windows increment msc to a value that results in ms_mode == 2. Even
though only some of the bands are actually using Mid/Side.
libavcodec/aacenc.c