mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fftools/ffmpeg_filter: Make functions only used locally static
Also remove some declarations of inexistent functions while at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
parent
2166d8d6b2
commit
2367affc2c
@ -640,21 +640,14 @@ extern HWDevice *filter_hw_device;
|
|||||||
void term_init(void);
|
void term_init(void);
|
||||||
void term_exit(void);
|
void term_exit(void);
|
||||||
|
|
||||||
void reset_options(OptionsContext *o, int is_input);
|
|
||||||
void show_usage(void);
|
void show_usage(void);
|
||||||
|
|
||||||
void opt_output_file(void *optctx, const char *filename);
|
|
||||||
|
|
||||||
void remove_avoptions(AVDictionary **a, AVDictionary *b);
|
void remove_avoptions(AVDictionary **a, AVDictionary *b);
|
||||||
void assert_avoptions(AVDictionary *m);
|
void assert_avoptions(AVDictionary *m);
|
||||||
|
|
||||||
int guess_input_channel_layout(InputStream *ist);
|
int guess_input_channel_layout(InputStream *ist);
|
||||||
|
|
||||||
enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *avctx,
|
|
||||||
const AVCodec *codec, enum AVPixelFormat target);
|
|
||||||
|
|
||||||
int configure_filtergraph(FilterGraph *fg);
|
int configure_filtergraph(FilterGraph *fg);
|
||||||
int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out);
|
|
||||||
void check_filter_outputs(void);
|
void check_filter_outputs(void);
|
||||||
int filtergraph_is_simple(FilterGraph *fg);
|
int filtergraph_is_simple(FilterGraph *fg);
|
||||||
int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
|
int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
|
||||||
|
@ -60,7 +60,7 @@ static const enum AVPixelFormat *get_compliance_unofficial_pix_fmts(enum AVCodec
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *enc_ctx,
|
static enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *enc_ctx,
|
||||||
const AVCodec *codec, enum AVPixelFormat target)
|
const AVCodec *codec, enum AVPixelFormat target)
|
||||||
{
|
{
|
||||||
if (codec && codec->pix_fmts) {
|
if (codec && codec->pix_fmts) {
|
||||||
@ -645,7 +645,8 @@ static int configure_output_audio_filter(FilterGraph *fg, OutputFilter *ofilter,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter, AVFilterInOut *out)
|
static int configure_output_filter(FilterGraph *fg, OutputFilter *ofilter,
|
||||||
|
AVFilterInOut *out)
|
||||||
{
|
{
|
||||||
if (!ofilter->ost) {
|
if (!ofilter->ost) {
|
||||||
av_log(NULL, AV_LOG_FATAL, "Filter %s has an unconnected output\n", ofilter->name);
|
av_log(NULL, AV_LOG_FATAL, "Filter %s has an unconnected output\n", ofilter->name);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user