]> git.sesse.net Git - ffmpeg/commit
flacenc: Move a scratch buffer to struct used by the function
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 28 Apr 2015 14:50:39 +0000 (15:50 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 28 Apr 2015 15:25:09 +0000 (16:25 +0100)
commitf5ba67ee1342b7741200ff637fc3ea3387b68a1b
treec1118a5b276065d6e5be85c7df65f3f2bb638a78
parent5aed1d4240d411533c102eec6944aa925b7f4964
flacenc: Move a scratch buffer to struct used by the function

This avoids allocating/freeing memory at every function call,
checking its return value, and carrying the error around.
libavcodec/flacenc.c