summaryrefslogtreecommitdiff
path: root/libavdevice/decklink_common.cpp
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@ltnglobal.com>2018-10-19 15:35:48 -0400
committerMarton Balint <cus@passwd.hu>2018-10-20 01:57:08 +0200
commit9e21ba3dc3402fbe9d915f16c9f6eaf57d564b30 (patch)
treebd3cda7ec9adb9bcc3d178898953ac1645dcafca /libavdevice/decklink_common.cpp
parent6871c171735959fb882e43755abbd33a62b14e0c (diff)
downloadffmpeg-9e21ba3dc3402fbe9d915f16c9f6eaf57d564b30.tar.gz
avdevice/decklink: Fix compile breakage on OSX
Make the function static, or else Clang complains with: error: no previous prototype for function 'decklink_get_attr_string' [-Werror,-Wmissing-prototypes] Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavdevice/decklink_common.cpp')
-rw-r--r--libavdevice/decklink_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/decklink_common.cpp b/libavdevice/decklink_common.cpp
index b88d6c6219..130e70b2ca 100644
--- a/libavdevice/decklink_common.cpp
+++ b/libavdevice/decklink_common.cpp
@@ -77,7 +77,7 @@ static IDeckLinkIterator *decklink_create_iterator(AVFormatContext *avctx)
return iter;
}
-int decklink_get_attr_string(IDeckLink *dl, BMDDeckLinkAttributeID cfg_id, const char **s)
+static int decklink_get_attr_string(IDeckLink *dl, BMDDeckLinkAttributeID cfg_id, const char **s)
{
DECKLINK_STR tmp;
HRESULT hr;