[FFmpeg-devel] [PATCH] Add section about C++ and extern "C" in the FAQ
Diego Biurrun
diego
Fri Jul 27 15:37:18 CEST 2007
On Fri, Jul 27, 2007 at 03:11:13PM +0200, Panagiotis Issaris wrote:
>
> The attached patch does as said in $subj.
>
> --- doc/faq.texi (revision 9810)
> +++ doc/faq.texi (working copy)
> @@ -395,6 +395,14 @@
>
> + at section I'm using libavcodec from within my C++ application but the linker complains about missing symbols which seem to be available.
> +
> +FFmpeg is a pure C project, so to use the libraries within your C++ application
> +you need to explicitly state that you are using a C library. You can do this by
> +encompassing your FFmpeg includes using extern "C".
@code{extern "C"}
Commit.
Diego
More information about the ffmpeg-devel
mailing list