[FFmpeg-devel] [PATCH] deals with code that has no effect when executed

Erik Hovland erik
Fri May 30 00:10:49 CEST 2008


On Thu, May 29, 2008 at 06:08:16PM -0400, Dave Dodge wrote:
> On Thu, May 29, 2008 at 12:56:52PM -0700, Erik Hovland wrote:
> > I have reworked the patch to leave out the changes to memset because
> > in each one it is using sizeof correctly on static arrays and not.
> 
> Just to keep the terminology correct: those arrays are variable
> length, not static.  In fact it is forbidden for a variable length
> array to have static storage duration.

Right. I should say stack allocated instead of heap allocated as that is
what I really mean.

E

-- 
Erik Hovland
mail: erik at hovland.org
web: http://hovland.org/
PGP/GPG public key available on request





More information about the ffmpeg-devel mailing list