Mention unneeded casts and parentheses

patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Vitor Sessak 2007-06-27 10:37:37 +00:00 committed by Benoit Fouet
parent 3d44f15cfc
commit 7cbf432db1
1 changed files with 3 additions and 0 deletions

View File

@ -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