[FFmpeg-devel] [PATCH] C99ify array initialisation in mxfdec.c

Axel Holzinger aholzinger
Wed Jul 21 08:36:04 CEST 2010


On Wed, Jul 21, 2010 at 2:42 AM, Ramiro Polla wrote:
> On Fri, Jul 16, 2010 at 5:34 PM, Baptiste Coudurier 
> <baptiste.coudurier at gmail.com> wrote:
> > On 07/16/2010 06:22 AM, Axel Holzinger wrote:
> >> Axel Holzinger wrote:
> >>> initialising to zero with {} is not official C99 standard C.
> >>>
> >>> {0} is the way to go.
> >
> > Patch ok, may I ask which compiler warn/choke on this ?
> 
> Could you suggest a commit message? Also is this the only 
> occurrence in all of FFmpeg? We could change all occurrences 
> in one commit.

I searched last Friday (I think it was r24263) and didn't find another
occurence.

As a commit message IMHO I would suggest "C standard conforming
initialisation".

Cheers
Axel




More information about the ffmpeg-devel mailing list