[FFmpeg-devel] [PATCH 2/2] lavd: add lavfi dependencies for test programs.

Lukasz M lukasz.m.luki at gmail.com
Thu Feb 6 13:23:54 CET 2014


On 5 February 2014 18:13, Michael Niedermayer <michaelni at gmx.at> wrote:

> On Wed, Feb 05, 2014 at 05:45:49PM +0100, Nicolas George wrote:
> > Le septidi 17 pluviôse, an CCXXII, Michael Niedermayer a écrit :
> > > This adds all the dependancies of the currently build libavfilter
> > > to libavdevice.so
> > >
> > > this feels wrong
> > > libavdevice.so does not depend on these
> >
> > I do not understand what you are saying. libavdevice does depend on
> > libavfilter (through the lavfi device). The only reason it works for now
> is
> > because the only test program here only tests a very small and isolated
> part
> > of libavdevice.
>
> libavdevice does depend on libavfilter but it does not depend on
> lets say libpostproc
>
> if for example you upgrade libavfilter.so and the new version no
> longer depends on libpostproc.so you still would have libavdevice.so
> depening on it if iam not mistaken
> that is after the patch but not before


I'm not a linker guru, but maybe these new deps should be applied to test
programs, not library.
This is quite annoying static lib doesn't track its own dependencies and it
seems you cannot avoid adding them explicitly somewhere.


More information about the ffmpeg-devel mailing list