[FFmpeg-devel] [PATCH] Make implicit void pointer cast explicit

Anton Khirnov anton at khirnov.net
Thu Jul 28 17:11:18 EEST 2022


Quoting Amir Mazzarella (2022-07-19 23:21:00)
> Thank you for your response! A C++ compiler can't do implicit casts like a
> C compiler can, in this instance. This is fine for most of FFmpeg's
> codebase, since these tricks are in C source files, but in this instance it
> is in a header file. If any C++ code includes this header file, even with
> extern "C", it won't be able to be compiled.

This header is private, no external c++ code should be including it.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list