aboutsummaryrefslogtreecommitdiffstats
path: root/doc/developer.texi
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2018-05-18 02:24:28 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2018-05-18 02:24:28 +0100
commit62a7a70484f78372856b3967f4c9ebb6525b17bd (patch)
tree80d00ef06cce5df133ff1373f85a5ac0d8141e73 /doc/developer.texi
parentce943dd6acbfdfc40223c0fb24d4cad438e6499c (diff)
downloadffmpeg-62a7a70484f78372856b3967f4c9ebb6525b17bd.tar.gz
doc/developer: update style guidelines to include for loops with declarations
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'doc/developer.texi')
-rw-r--r--doc/developer.texi3
1 files changed, 3 insertions, 0 deletions
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++)});
+
+@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.