On Mon, Mar 4, 2013 at 12:01 PM, thanh nhan thanh nhan <[email protected]> wrote: > I saw that the ffmpeg library files such as libavcodec.a, > libavformat.a....are huge-size files. When we link them into executable file, > are they attached into executable file with the whole size no matter which > ffmpeg function we use???
No, the linker resolves the necessary parts only. But the dependencies between ffmpeg components are sometimes built into the compiled code. That's why you can achieve significant gain if you compile the libraries with fewer features enabled. BR, Alex _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
