From: Vitor Sessak Date: Wed, 27 Jun 2007 10:37:37 +0000 (+0000) Subject: Mention unneeded casts and parentheses X-Git-Tag: v0.5~8557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7cbf432db1faa8b2ef2dc18e06a87bf6be293718;p=platform%2Fupstream%2Flibav.git Mention unneeded casts and parentheses patch by Vitor: [vitor1001 gmail com] Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/doc/ffmpeg-doc.texi b/doc/ffmpeg-doc.texi index 9fa7668..470a8b4 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