summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2004-12-23 21:33:53 +0000
committerDiego Biurrun <diego@biurrun.de>2004-12-23 21:33:53 +0000
commit114afa9ce754d4a1146f5b47f25639280e6de1d6 (patch)
tree7855551d0133b418fab3e2125c718186149dfe79 /doc
parent0d6d0cf9533be6dbfd70b8e2e20c6de49956ade4 (diff)
Syntax errors fixed.
Originally committed as revision 3773 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/ffmpeg-doc.texi18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 0a96ac4c50..577e7d5f5e 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -981,7 +981,7 @@ the @samp{inline} keyword;
@item
designated struct initializers (@samp{struct s x = @{ .i = 17 @};})
@item
-compound literals (@samp{x = (struct s) { 17, 23 @};})
+compound literals (@samp{x = (struct s) @{ 17, 23 @};})
@end itemize
These features are supported by all compilers we care about, so we won't
@@ -1017,9 +1017,9 @@ above it explaining what the function does, even if its just one sentance.
All Structures and their member variables should be documented too.
@example
/**
- * @file mpeg.c
+ * @@file mpeg.c
 * mpeg codec.
- * @author ...
+ * @@author ...
 */
/**
@@ -1027,19 +1027,19 @@ All Structures and their member variables should be documented too.
 * more text ...
 * ...
 */
-typedef struct Foobar{
+typedef struct Foobar@{
    int var1; /**< var1 description */
    int var2; ///< var2 description
    /** var3 description */
    int var3;
-} Foobar;
+@} Foobar;
/**
 * Summary sentance.
 * more text ...
 * ...
- * @param my_parameter description of my_parameter
- * @return return value description
+ * @@param my_parameter description of my_parameter
+ * @@return return value description
 */
int myfunc(int my_parameter)
...
@@ -1091,7 +1091,7 @@ please use av_log() instead.
indentation changes (try to avoid this), separate them strictly from real
changes.
- NOTE: If you had to put if(){ .. } over a large (> 5 lines) chunk of code,
+ NOTE: If you had to put if()@{ .. @} over a large (> 5 lines) chunk of code,
then either do NOT change the indentation of the inner part within (don't
move it to the right)! or do so in a seperate commit
@item
@@ -1124,7 +1124,7 @@ please use av_log() instead.
Never revert changes made a long time ago or buggy code. Fix it in the
normal way instead.
-@end itemize
+@end enumerate
We think our rules are not too hard. If you have comments, contact us.