On Tue, Jul 19, 2022 at 11:21 PM Amir Mazzarella <amirmazz-at-google....@ffmpeg.org> wrote: > > 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. >
While this is true, extremely little code in FFmpeg is C++, as it is avoided unless absolutely necessary. We're more likely to fix such cases when needed, rather than blanket them "just in case". - Hendrik _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".