Remove last_samples[] and copy directly from planar_samples[].
authorJustin Ruggles <justin.ruggles@gmail.com>
Wed, 15 Dec 2010 17:28:52 +0000 (17:28 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Wed, 15 Dec 2010 17:28:52 +0000 (17:28 +0000)
commit1c3e117e0bd73ffc5a3abeb35b521fd048988f06
treed5932169bc2de692965ddf999ae05c0799f9daa0
parent7eeca961e3e496ab93366e5a3f5b695d2d3b99ee
Remove last_samples[] and copy directly from planar_samples[].
Avoids memcpy that was used to store last samples for next frame.
Approx. 3% faster in function deinterleave_input_samples() and reduces memory
usage by 3kB.

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