aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-04-18 20:15:07 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-02 10:59:24 +0200
commitaee5b774bf21fdb66fbd4b9ae07109986d1a1014 (patch)
tree70bbd9bf3cf147f15c6f771fe1375235ab53dfc2
parent38c937e8c48608fd1574729365aa991b189138cb (diff)
downloadffmpeg-aee5b774bf21fdb66fbd4b9ae07109986d1a1014.tar.gz
fftools/ffmpeg_filter: make ifilter_parameters_from_frame() static
It is no longer used outside of this file.
-rw-r--r--fftools/ffmpeg.h1
-rw-r--r--fftools/ffmpeg_filter.c2
2 files changed, 1 insertions, 2 deletions
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;