]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Mention unneeded casts and parentheses
authorbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 27 Jun 2007 10:37:37 +0000 (10:37 +0000)
committerbenoit <benoit@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Wed, 27 Jun 2007 10:37:37 +0000 (10:37 +0000)
patch by Vitor: [vitor1001 gmail com]

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9445 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

doc/ffmpeg-doc.texi

index 9fa7668ca34d664ea11d454e99f9fa8239362bc8..470a8b498c2a09c2559539974a126707a204cfbd 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