Mention unneeded casts and parentheses

patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Vitor Sessak 18 years ago committed by Benoit Fouet
parent 3d44f15cfc
commit 7cbf432db1
  1. 3
      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

Loading…
Cancel
Save