[FFmpeg-devel] [PATCH] ac3dec: avoid pointless alloc and indirection for input_buffer

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Apr 1 19:49:39 CEST 2011

On Fri, Mar 25, 2011 at 01:25:58AM +0100, Michael Niedermayer wrote:
> On Thu, Mar 24, 2011 at 09:29:27PM +0100, Reimar Döffinger wrote:
> > Since we now always allocate it,
> Note, i do not consider this a good idea, we have things like a fast
> flag based upon which the copy could be skiped

I realized a more important point: In that case we only waste a
few kB of memory.
Just said he was ok with it, though he'd prefer if I used DECLARE_ALIGNED.
So I changed that and moved it with the other aligned arrays.
I intend to apply in a few days if nobody objects.

More information about the ffmpeg-devel mailing list