[MPlayer-dev-eng] [PATCH] build: fix lavfi dependencies (swscale and swresample).

Reinhard Tartler siretart at gmail.com
Tue Feb 7 15:52:43 CET 2012


On Tue, Feb 7, 2012 at 3:13 PM, Diego Biurrun <diego at biurrun.de> wrote:
> On Tue, Feb 07, 2012 at 02:16:39PM +0100, Reinhard Tartler wrote:
>> 2012/2/7 Nicolas George <nicolas.george at normalesup.org>:
>> > L'octidi 18 pluviôse, an CCXX, Reinhard Tartler a écrit :
>> >> libmpcodecs/vf_lavfi.c:272:13: error: implicit declaration of function
>> >> 'av_rescale' [-Werror=implicit-function-declaration]
>> >
>> > This one seems to be caused by this:
>> > http://thread.gmane.org/gmane.comp.video.libav.devel/4898/focus=4900
>> >
>> > It would be easy to fix, but there is not much point anyway (and personally
>> > I really do not see the point of this patch series at all).
>>
>> I see. Well, adding the #include "avutil/mathematics.h" is anyway the
>> right thing to do, imo. You should always include headers that you
>> require and don't rely on headers that do that indirectly in general
>> no?
>
> Yes.  Just add the #include if the file uses parts from it.

done

-- 
regards,
    Reinhard


More information about the MPlayer-dev-eng mailing list