avcodec/flacenc: Move udata and sums to FlacSubframe
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 19 May 2015 11:48:30 +0000 (13:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 19 May 2015 11:48:30 +0000 (13:48 +0200)
commit7786a91b47e7918ec26293127bdfc6dd87ca2630
tree75b4ba5c532e22ae6f1511dfba704bcfe59ba475
parentdf5e408d32a096cb91f362a43e6018223bc5a911
avcodec/flacenc: Move udata and sums to FlacSubframe

This significantly reduces the amount of stack space needed and
also permits to simply copy the rice context again without speed
penalty

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/flacenc.c