Mention unneeded casts and parentheses
authorVitor Sessak <vitor1001@gmail.com>
Wed, 27 Jun 2007 10:37:37 +0000 (10:37 +0000)
committerBenoit 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

index 9fa7668..470a8b4 100644 (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