[FFmpeg-devel] [PATCH] cllc: Pad swapepd buffer

Paul B Mahol onemda at gmail.com
Sun Aug 26 12:14:11 CEST 2012

On 8/25/12, Derek Buitenhuis <derek.buitenhuis at gmail.com> wrote:
> On 25/08/2012 6:21 PM, Reimar Doeffinger wrote:
>>> There's no benefit to using it.
>>> It also simplifies the allocation failure handling and can be faster.
> I don't see how it could possible be faster. It adds an extra memset, for
> one thing.
> If I were to switch, I'd likely switch to av_fast_malloc. I don't really see
> a point in switching other than for the sake of bikeshed.

There is av_fast_padded_mallocz().

Switch only if there is measurable speed gain.

More information about the ffmpeg-devel mailing list