Allocate planar_samples using av_mallocz().
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 02:32:55 +0000 (02:32 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 16 Dec 2010 02:32:55 +0000 (02:32 +0000)
commite8d21fba3f09271cb713f6a8203ef403704ed29c
treef6e49c11df95a05c3ac94976ab1971610c9f9220
parent171bc51c9b319e3b2b2736c511af72acf27763a9
Allocate planar_samples using av_mallocz().
Lowers memory usage when encoding less than 6 channels.

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