[FFmpeg-devel] FFmpeg source code is no longer C99 because of GNUism called case ranges
Roman Shaposhnik
rvs
Sat Jul 7 23:18:17 CEST 2007
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.
Thanks,
Roman.
More information about the ffmpeg-devel
mailing list