[FFmpeg-devel] [PATCH] deals with code that has no effect when executed
Thu May 29 23:12:11 CEST 2008
On Thu, May 29, 2008 at 10:48:18PM +0200, Michael Niedermayer wrote:
> > > > > I'd really like a citation of the C standard for that claim...
> > > >
> > > > I guess I should do a better job of qualifying that statement. The C
> > > > standard does not allow for the sizeof operator to work on dynamic or
> > > > externally define types.
> > > > http://en.wikipedia.org/wiki/Sizeof
> > >
> > > sigh ...
> > > wikipedia is NOT the C standard (and thats a good thing). I wouldnt trust
> > > any publically editable source blindly.
> > Sorry. I was not trusting it blindly. I read it for accuracy. And it was
> > accurate for what it says. But unfortunately for me. I was
> wiki says "sizeof is a compile-time operator, which means that during
> compilation, sizeof and its operand get replaced by the result-value."
> This is simply not true.
Gold star for Niedermayer! But what do you think of the current patch?
mail: erik at hovland.org
PGP/GPG public key available on request
More information about the ffmpeg-devel