Allocate all large per-channel arrays using av_malloc().
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 02:33:02 +0000 (02:33 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 02:33:02 +0000 (02:33 +0000)
commitb6f6204db9621f7ee6430795b1553ccabc2f326a
treeca11cf5ff2c0ea03c1dcc716102778ad0cda4b62
parentaa645b9888d84090e27d58826d029df24fc78a9f
Allocate all large per-channel arrays using av_malloc().
Decreases memory usage for less than 6 channels.

Originally committed as revision 26026 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/ac3enc.c