[FFmpeg-cvslog] r14484 - in trunk/libavcodec: audioconvert.c audioconvert.h

Diego Biurrun diego
Sat Aug 2 15:06:15 CEST 2008


On Sat, Aug 02, 2008 at 02:55:30PM +0200, Diego Biurrun wrote:
> On Sat, Aug 02, 2008 at 12:12:11AM +0200, Michael Niedermayer wrote:
> > 
> > Would it be possible that you could spell out the rule you think is a rule
> > so we all know beyond doubt if there are exceptions and if so which exactly.
> 
> All files should #include everything they need directly.

For system headers like inttypes.h that are documented to always
#include other headers like stdint.h, I consider just inttypes.h enough.

Note that 'make checkheaders' does not strictly enforce this, but at
least it makes sure that headers work standalone, i.e. that they can be
used without having to worry about which other #include lines to add.

Diego




More information about the ffmpeg-cvslog mailing list