[FFmpeg-devel] [PATCH] lavu: make AV_TIME_BASE_Q work in C++ code

Steinar H. Gunderson steinar+ffmpeg at gunderson.no
Tue Jun 30 13:22:56 EEST 2020


On Tue, Jun 30, 2020 at 12:00:24PM +0200, Paul B Mahol wrote:
> So we should suffer instead by applying this patch?

The thousands of projects that include FFmpeg from C++, directly or
indirectly, suggests that the amount of suffering on FFmpeg's part
by supporting inclusion from C++ is not going to be large.
If you add some #ifndef __cplusplus extern "C" ... on each header and then
apply the given patch, I would be surprised if this creates a large
maintenance burden on your behalf.

/* Steinar */


More information about the ffmpeg-devel mailing list