[FFmpeg-devel] patch 2: comments style cleanup in libavcodec/cinepakenc.c

wm4 nfxjfg at googlemail.com
Sat Jan 28 13:31:33 EET 2017


On Sat, 28 Jan 2017 11:50:27 +0100
u-9iep at aetey.se wrote:

> Comments style cleanup:
>  - make all comments follow the same style (C-style)
> 
> No code changes, only improved consistency and clarity in the comments.
> No changes in the comments besides whitespace and the syntactic delimiters.
> 
> The original file uses a mixture of C and C++ style comments, not for
> clarity but for historical reasons (among others commenting in a hurry).
> 
> With the change applied the structure of the file is more consequent
> and also makes easier a possible code reuse with different C compilers.
> 
> Attaching the patch.
> 
> Regards,
> Rune

"//" comments are ok in the ffmpeg codebase, because it's C99.


More information about the ffmpeg-devel mailing list