Browse Source

Mention unneeded casts and parentheses

patch by Vitor: [vitor1001 gmail com]

Originally committed as revision 9445 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Vitor Sessak Benoit Fouet 18 years ago
parent
commit
7cbf432db1
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      doc/ffmpeg-doc.texi

+ 3
- 0
doc/ffmpeg-doc.texi View 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


Loading…
Cancel
Save