[FFmpeg-devel] FFmpeg source code is no longer C99 because of GNUism called case ranges

Michael Niedermayer michaelni
Sun Jul 8 03:01:00 CEST 2007


Hi

On Sat, Jul 07, 2007 at 02:18:17PM -0700, Roman Shaposhnik wrote:
> Hi
> 
> On Sat, 2007-07-07 at 22:13 +0100, M?ns Rullg?rd wrote:
> > >   Well, hopefully this is the same thing Michael had in mind ;-) But we
> > > are supposed to find out soon.
> > 
> > I personally prefer to break lines after operators, like so:
> > 
> > else if(avctx->sub_id == 0x20001000 ||
> >         avctx->sub_id >= 0x201a0000 && avctx->sub_id < 0x201a0000)
> 
>   That is my personal style as well. That said, I really wish to see
> guidelines like those in our docs somewhere so that submitters don't
> have to struggle with guesswork.

the thought of a 500 page style guidline scares me :)

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070708/21aeb016/attachment.pgp>



More information about the ffmpeg-devel mailing list