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)
Showing the changes to libavdevice/decklink_dec.cpp (1 of 1 file). Show all
Unified · Split
| @@ -789,7 +789,7 @@ static int64_t get_pkt_pts(IDeckLinkVideoInputFrame *videoFrame, · 788 unmodified lines | ||
| 789 | 789 | return pts; |
| 790 | 790 | } |
| 791 | 791 | |
| 792 | −int get_bmd_timecode(AVFormatContext *avctx, AVTimecode *tc, AVRational frame_rate, BMDTimecodeFormat tc_format, IDeckLinkVideoInputFrame *videoFrame) | |
| 792 | +static int get_bmd_timecode(AVFormatContext *avctx, AVTimecode *tc, AVRational frame_rate, BMDTimecodeFormat tc_format, IDeckLinkVideoInputFrame *videoFrame) | |
| 793 | 793 | { |
| 794 | 794 | IDeckLinkTimecode *timecode; |
| 795 | 795 | int ret = AVERROR(ENOENT); |
| @@ -811,7 +811,7 @@ int get_bmd_timecode(AVFormatContext *avctx, AVTimecode *tc, AVRational frame_ra · 15 unmodified lines | ||
| 811 | 811 | return ret; |
| 812 | 812 | } |
| 813 | 813 | |
| 814 | −int get_frame_timecode(AVFormatContext *avctx, decklink_ctx *ctx, AVTimecode *tc, IDeckLinkVideoInputFrame *videoFrame) | |
| 814 | +static int get_frame_timecode(AVFormatContext *avctx, decklink_ctx *ctx, AVTimecode *tc, IDeckLinkVideoInputFrame *videoFrame) | |
| 815 | 815 | { |
| 816 | 816 | AVRational frame_rate = ctx->video_st->r_frame_rate; |
| 817 | 817 | int ret; |