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

Axel Holzinger aholzinger
Wed Jul 21 12:33:18 CEST 2010


On Wed, Jul 21, 2010 at 8:54 AM, M?ns Rullg?rd wrote:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
> 
> > 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.
> 
> There's one in libavformat/rtsp.c too.

Ooops, sorry, I should have rechecked. I fixed that one too, but
forgot to make a diff and send the patch. I'll send it later today.

Regards
Axel




More information about the ffmpeg-devel mailing list