[FFmpeg-devel] [PATCH] deals with code that has no effect when executed
Måns Rullgård
mans
Fri May 30 09:30:39 CEST 2008
Dave Dodge <dododge at dododge.net> writes:
> 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.
Strictly speaking, it's not forbidden. It is, however, impossible.
The net result is of course the same.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list