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

Rich Felker dalias
Mon May 14 17:39:00 CEST 2007


On Mon, May 14, 2007 at 12:15:28PM +0200, Ulrich von Zadow wrote:
> 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.

It's not duplicated _code_. It's correctly flagging that you're
including a _foreign_ language header rather than a C++ header.

Rich




More information about the ffmpeg-devel mailing list