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

Ulrich von Zadow coder
Mon May 14 12:15:28 CEST 2007

Diego Biurrun schrieb:

> Since the big outcry has not been forthcoming this time around

That's an invitation ;-).

> and a
> consensus to remove them seems to exist, I would say remove them.  I'm
> all for it.

I'm not an ffmpeg developer, but someone who has been using ffmpeg in
open source sw (www.libavg.de) for quite some time. So, it's your choice
whether to remove this code, but I'd like to add my 2c to the discussion:

At the moment, it's no harder to use ffmpeg from C++ than it is from C
(We're doing it), and that's very good. Removing the extern "C" markings
would change that. It would remove maybe 20 lines from ffmpeg and
require every library that uses ffmpeg from C++ to add these lines
again. That's a lot of duplicated code and hence wasted effort.

Are you sure you want that?



More information about the ffmpeg-devel mailing list