[FFmpeg-cvslog] doc/developer: update style guidelines to include for loops with declarations
Rostislav Pehlivanov
git at videolan.org
Fri May 18 04:40:42 EEST 2018
ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Fri May 18 02:24:28 2018 +0100| [62a7a70484f78372856b3967f4c9ebb6525b17bd] | committer: Rostislav Pehlivanov
doc/developer: update style guidelines to include for loops with declarations
Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62a7a70484f78372856b3967f4c9ebb6525b17bd
---
doc/developer.texi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/doc/developer.texi b/doc/developer.texi
index a0eeefe242..5c342c9106 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -129,6 +129,9 @@ designated struct initializers (@samp{struct s x = @{ .i = 17 @};});
compound literals (@samp{x = (struct s) @{ 17, 23 @};}).
@item
+for loops with variable definition (@samp{for (int i = 0; i < 8; i++)});
+
+ at item
Implementation defined behavior for signed integers is assumed to match the
expected behavior for two's complement. Non representable values in integer
casts are binary truncated. Shift right of signed values uses sign extension.
More information about the ffmpeg-cvslog
mailing list