[FFmpeg-devel] [PATCH]Add Dirac support to ffmpeg via libdirac_* and Schroedinger libraries]

Anuradha Suraparaju anuradha
Fri Apr 11 04:12:11 CEST 2008


On Thu, 2008-04-10 at 11:44 +0200, Diego Biurrun wrote:

[...]

> 
> > +    int num_formats = sizeof(ffmpeg_dirac_pixel_format_map)/sizeof(ffmpeg_dirac_pixel_format_map[0]);
> 
> Breaking long lines such as this one would be a plus.

Is there a common convention that is followed everywhere in ffmpeg
regarding long lines? I usually like to keep connected info on one line
even though it exceeds 80 chars because it make "grep"ping for code
easier.

E.g. if one of the conditions in an if statement overflows a line, I'd
rather keep it on one line than split it into two. But if there is more
than one condition, each goes on a separate line.

If this is not acceptable, I'll make sure that the lines don't exceed 80
chars

[...]

Regards,
Anuradha





More information about the ffmpeg-devel mailing list