From aee5b774bf21fdb66fbd4b9ae07109986d1a1014 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 18 Apr 2023 20:15:07 +0200 Subject: fftools/ffmpeg_filter: make ifilter_parameters_from_frame() static It is no longer used outside of this file. --- fftools/ffmpeg.h | 1 - fftools/ffmpeg_filter.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'fftools') diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 116087354d..cc384b4b30 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -794,7 +794,6 @@ void sub2video_update(InputStream *ist, int64_t heartbeat_pts, AVSubtitle *sub); int ifilter_send_frame(InputFilter *ifilter, AVFrame *frame, int keep_reference); int ifilter_send_eof(InputFilter *ifilter, int64_t pts); -int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame); int ifilter_parameters_from_codecpar(InputFilter *ifilter, AVCodecParameters *par); int ifilter_has_all_input_formats(FilterGraph *fg); diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 161ea9c866..43bae9c25b 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -1311,7 +1311,7 @@ fail: return ret; } -int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame) +static int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame) { AVFrameSideData *sd; int ret; -- cgit v1.2.1