[FFmpeg-cvslog] r9445 - trunk/doc/ffmpeg-doc.texi

benoit subversion
Wed Jun 27 12:37:37 CEST 2007

Author: benoit
Date: Wed Jun 27 12:37:37 2007
New Revision: 9445

Mention unneeded casts and parentheses
patch by Vitor: [vitor1001 gmail com]


Modified: trunk/doc/ffmpeg-doc.texi
--- trunk/doc/ffmpeg-doc.texi	(original)
+++ trunk/doc/ffmpeg-doc.texi	Wed Jun 27 12:37:37 2007
@@ -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

More information about the ffmpeg-cvslog mailing list