[FFmpeg-cvslog] fftools/ffmpeg_filter: make ifilter_parameters_from_frame() static

Anton Khirnov git at videolan.org
Tue May 2 12:31:06 EEST 2023


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Apr 18 20:15:07 2023 +0200| [aee5b774bf21fdb66fbd4b9ae07109986d1a1014] | committer: Anton Khirnov

fftools/ffmpeg_filter: make ifilter_parameters_from_frame() static

It is no longer used outside of this file.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aee5b774bf21fdb66fbd4b9ae07109986d1a1014
---

 fftools/ffmpeg.h        | 1 -
 fftools/ffmpeg_filter.c | 2 +-
 2 files changed, 1 insertion(+), 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;



More information about the ffmpeg-cvslog mailing list