[FFmpeg-devel] [PATCH] Add section about C++ and extern "C" in the FAQ

Panagiotis Issaris takis.issaris
Fri Jul 27 15:38:45 CEST 2007


Hi Diego,

Diego Biurrun schreef:
> 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.

Done!

With friendly regards,
Takis
--
vCard: http://issaris.org/pi.vcf
PGP key: http://issaris.org/pi.key




More information about the ffmpeg-devel mailing list