[FFmpeg-devel] [RFC] extern "C" usage

Alex Beregszaszi alex
Sun May 13 16:35:26 CEST 2007


some headers are enclosed into extern "C" { }, while others are not.
Such is aes.h.

When using ffmpeg libs in a C++ application this brings a confusion, as
you need to enclose some headers with it, while others not.

To solve this, I propose to remove all the extern "C" occurances in
FFmpeg and let this job be done by the developers of C++ applications.
The other solution would be adding these to the headers which are
missing it.

Alex Beregszaszi

More information about the ffmpeg-devel mailing list