lavc/audiotoolboxenc: fix a number of config issues
authorRodger Combs <rodger.combs@gmail.com>
Wed, 23 Mar 2016 21:46:39 +0000 (16:46 -0500)
committerRodger Combs <rodger.combs@gmail.com>
Sat, 2 Apr 2016 08:03:13 +0000 (03:03 -0500)
commitc820e600eac44ae722760b69ae920f14a79ec3eb
tree411b231f9a78886877aca500a1f948c3ec369dd6
parent7524b678175e69504c9360c884cfe9116cb8bb11
lavc/audiotoolboxenc: fix a number of config issues

- size variables were used in a confusing way
- incorrect size var use led to channel layouts not being set properly
- channel layouts were incorrectly mapped for >2-channel AAC
- bitrates not accepted by the encoder were discarded instead of being clamped
- some minor style/indentation fixes
libavcodec/audiotoolboxenc.c