]> git.sesse.net Git - ffmpeg/commit
avdevice/decklink_dec: mark get_frame_timecode and get_bmd_timecode static
authorChristopher Degawa <ccom@randomderp.com>
Wed, 6 Jan 2021 18:09:36 +0000 (18:09 +0000)
committerMarton Balint <cus@passwd.hu>
Sat, 9 Jan 2021 16:37:02 +0000 (17:37 +0100)
commiteacad3406e3e772558642d342e87892c3338eb4e
tree2199e54007853b2f3c02f0a8e52dc94c789248ad
parent2e174354805ea220b6a57f6b8755347c7f240077
avdevice/decklink_dec: mark get_frame_timecode and get_bmd_timecode static

The function is not used anywhere else and is causing mingw-w64 clang
builds to fail with

ffmpeg-git/libavdevice/decklink_dec.cpp:792:5: error: no previous prototype for function 'get_bmd_timecode' [-Werror,-Wmissing-prototypes]
int get_bmd_timecode(AVFormatContext *avctx, AVTimecode *tc, AVRational frame_rate, BMDTimecodeFormat tc_format, IDeckLinkVideoInputFrame *videoFrame)

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_dec.cpp