fftools/ffmpeg_filter: make ifilter_parameters_from_frame() static

It is no longer used outside of this file.
pull/389/head
Anton Khirnov 2 years ago
parent 38c937e8c4
commit aee5b774bf
  1. 1
      fftools/ffmpeg.h
  2. 2
      fftools/ffmpeg_filter.c

@ -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);

@ -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;

Loading…
Cancel
Save