[FFmpeg-devel] [RFC] Split libavformat

Luca Abeni lucabe72
Fri Nov 23 10:26:47 CET 2007

Hi Diego,

Luca Abeni wrote:
> Diego Biurrun wrote:
>>> +EXTRALIBS := -L$(BUILD_ROOT)/libavutil -lavutil$(BUILDSUF) \
>>> +             -lavcodec$(BUILDSUF) -L$(BUILD_ROOT)/libavcodec \
>>> +             -lavformat$(BUILDSUF) -L$(BUILD_ROOT)/libavformat $(EXTRALIBS)
>> Is all of this really needed?
> Ops... No, I do not think it is needed... I blindly copied it from
> somewhere else, without thinking. I'll remove this entry.

Looks like I was wrong.
Those lines are needed to link libavdevice to libav{util, codec,format}.
I did not know that a library needs to be linked to other libraries (I
was under the impression that it is sufficient to link the final executable
with all the needed libaries)...

Anyway, it seems that without those EXTRALIBS the linking on windows fails.
Ok to re-add them?


More information about the ffmpeg-devel mailing list