[FFmpeg-devel] [PATCH] Add to AVCodec a long_name field

Stefano Sabatini stefano.sabatini-lala
Tue Apr 8 17:02:06 CEST 2008

On date Tuesday 2008-04-08 15:16:32 +0100, M?ns Rullg?rd encoded:
> Stefano Sabatini wrote:
> > In the case of a not filled field, I think most compilers (I only
> > tested gcc) should set it to NULL, so it shouldn't be a problem when
> > reading the field, or maybe we should explicitly set it in each codec
> > (this would be true also for the other fields too).
> Yes, any object with static storage duration is implicitly initialised as
> if it (or its members (for structs), or first member (for unions)) had
> an explicit initialiser of 0.  This means that pointers variables will
> initially be null pointers, whatever bit pattern null pointers have.
> Likewise for float/double data.

Thanks for the explanation!

Stefano Sabatini
Linux user number 337176 (see http://counter.li.org)

More information about the ffmpeg-devel mailing list