[Ffmpeg-devel] some quick questions about swscaler integration

Måns Rullgård mru
Fri Mar 17 14:54:42 CET 2006


Luca Abeni said:
> Hi Diego,
>
> On Fri, 2006-03-17 at 14:22 +0100, Diego Biurrun wrote:
>> On Fri, Mar 17, 2006 at 12:02:00PM +0100, Luca Abeni wrote:
>> > 4) I see that the swscale files include a lot o headers that should not
>> > be needed when including avcodec.h... Should I remove such inclusions?
>>
>> You mean mp_msg.h and similar?  I would say remove them.
> I was more thinking about things like "#include <inttypes.h>" (in
> swscaler.c, for example) and similar, which are not needed if avcodec.h
> is included.

If swscaler.c needs things from inttypes.h, it should #include it.  Never
depend on some other file doing it for you.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list