summaryrefslogtreecommitdiff
path: root/doc/ffmpeg-doc.texi
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2007-06-27 10:37:37 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2007-06-27 10:37:37 +0000
commit7cbf432db1faa8b2ef2dc18e06a87bf6be293718 (patch)
treea41c7cc95befd89dc6acbdbeb2e538c4c4e8a589 /doc/ffmpeg-doc.texi
parent3d44f15cfcb0577afed9cc3b14e5af92765080cf (diff)
Mention unneeded casts and parentheses
patch by Vitor: [vitor1001 gmail com] Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/ffmpeg-doc.texi')
-rw-r--r--doc/ffmpeg-doc.texi3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi
index 9fa7668ca3..470a8b498c 100644
--- a/doc/ffmpeg-doc.texi
+++ b/doc/ffmpeg-doc.texi
@@ -1539,6 +1539,9 @@ int myfunc(int my_parameter)
fprintf and printf are forbidden in libavformat and libavcodec,
please use av_log() instead.
+Casts should be used only when necessary. Unneeded parentheses
+should also be avoided if they don't make the code easier to understand.
+
@section Development Policy
@enumerate