[Libav-user] Difference between libavformat and lavformat

Nicolas George george at nsup.org
Sat Jul 24 10:28:28 EEST 2021

Việt Hùng Nguyễn (12021-07-24):
> -lavformat is the linking direction to libavformat when you compile
> programs those use libavformat. This is a kind of link direction when using
> gcc, so if you use other compilers, let check you link options and point to
> libavformat in your platform

This is true.

More accurately, the -l option instructs the compiler to use a library,
and the file name of libraries starts with lib: -lSOMETHING tells the
compiler to look for a file named libSOMETHING.a or libSOMETHING.so in
the usual directories.

> On Sat, 24 Jul 2021 at 11:04 Marco Antonio <mgrazianodecastro-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
> wrote:

Please remember that top-posting is forbidden on FFmpeg mailing-lists.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20210724/b8af76ca/attachment.sig>

More information about the Libav-user mailing list