[FFmpeg-devel] [PATCH 11/11] decklink: Fix compilation of module on OSX

Marton Balint cus at passwd.hu
Sat Jan 20 20:00:24 EET 2018



On Mon, 8 Jan 2018, Devin Heitmueller wrote:

> Clang applies the missing-prototypes warning on C++ files, whereas
> gcc only applies it to C.  As a result, the decklink_common.cpp file
> fails to build because of missing prototypes in DecklinkDispatch.cpp
> (which is #included by decklink_common.cpp).
>
> We don't want to change the actual Blackmagic SDK sources, so
> suppress the warning just for that one #include.
>
> Signed-off-by: Devin Heitmueller <dheitmueller at ltnglobal.com>
> ---
> libavdevice/decklink_common.cpp | 11 +++++++++++
> 1 file changed, 11 insertions(+)

Thanks, applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list