[FFmpeg-devel] [RFC] Split libavformat

Luca Barbato lu_zero
Tue Nov 20 09:36:59 CET 2007

Luca Abeni wrote:
>> - libavf should change the major version
> I was not sure about it, so I did not change the version number
> waiting for some feedback ;-)


>> if the pkg-config isn't changed to depend on libavdevice and libavnet
> Uhmmm... The dependencies are:
> - libavformat only depends on libavcodec (and libavutil)
> - libavdevice depends on libavformat
> - libavnet depends on libavformat
> I tried to express these dependencies (by changing the pkg-config files
> generation in the configure script), but I probably got it wrong...
> Which is the correct change to express the dependencies listed above?

In this case you end up having to break the major version for avformat.
beside that the pkg-config lines seems fine

> Since av_register_all() is protected from multiple invocations, calling
> it multiple times is not a problem. So, I ended up by calling it from
> both avdevice_register_all() and avnet_register_all().

Looks fine =)



Luca Barbato

Gentoo/linux Gentoo/PPC

More information about the ffmpeg-devel mailing list