]> git.sesse.net Git - ffmpeg/commit
AAC encoder: Fix application of M/S with PNS
authorClaudio Freire <klaussfreire@gmail.com>
Thu, 26 Nov 2015 06:27:06 +0000 (03:27 -0300)
committerClaudio Freire <klaussfreire@gmail.com>
Thu, 26 Nov 2015 06:27:06 +0000 (03:27 -0300)
commitfc36d852ee3413f7cd00ce531ba985925fa7a749
tree17327c4356bb4a9c57c97f99374d18c08f712c8e
parent04deaef29330e672b6d6600fedf4066c4f30d0e6
AAC encoder: Fix application of M/S with PNS

When both M/S coding and PNS are enabled, scalefactors
and coding books would be mistakenly clobbered when setting
the M/S flag on PNS'd bands. The flag needs to be set to
signal the generation of correlated noise, but the scalefactors,
coefficients and the coding books need to be kept intact.
libavcodec/aaccoder.c
libavcodec/aacenc.c