[FFmpeg-devel] compound literal in public header file

Steinar H. Gunderson steinar+ffmpeg at gunderson.no
Wed May 16 13:43:29 EEST 2018

On Wed, May 16, 2018 at 12:41:05PM +0200, Tomas Härdin wrote:
> This comes up every now and then, and I know there was great opposition
> to it previously from people who have since left the project. If you're
> willing to be the person officially dealing with all "C++-isms" in the
> headers then I wouldn't be too opposed. Maybe someone else has stronger
> feelings

FWIW, I use FFmpeg from C++ code, and the only thing I really need to worry
about seems to be adding extern "C" {} around every FFmpeg include. There
doesn't seem to be much more to it than that, at least for basic use.

/* Steinar */
Homepage: https://www.sesse.net/

More information about the ffmpeg-devel mailing list