]> git.sesse.net Git - ffmpeg/commit
avdevice/decklink: Fix compilation of module on OSX
authorDevin Heitmueller <dheitmueller@ltnglobal.com>
Tue, 9 Jan 2018 01:16:58 +0000 (20:16 -0500)
committerMarton Balint <cus@passwd.hu>
Sat, 20 Jan 2018 17:38:29 +0000 (18:38 +0100)
commitb5b48685043e4761335c4ab7086eba3b24a9c03d
treed5e63e717672533bfb7c66b0f44829c4563a8e07
parent5409f065f2c48ad9c4baf787d08384176cbc62a4
avdevice/decklink: Fix compilation of module on OSX

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@ltnglobal.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_common.cpp