projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d44f15
)
Mention unneeded casts and parentheses
author
Vitor Sessak
<vitor1001@gmail.com>
Wed, 27 Jun 2007 10:37:37 +0000
(10:37 +0000)
committer
Benoit Fouet
<benoit.fouet@free.fr>
Wed, 27 Jun 2007 10:37:37 +0000
(10:37 +0000)
patch by Vitor: [vitor1001 gmail com]
Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk
doc/ffmpeg-doc.texi
patch
|
blob
|
history
diff --git
a/doc/ffmpeg-doc.texi
b/doc/ffmpeg-doc.texi
index
9fa7668
..
470a8b4
100644
(file)
--- 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