[FFmpeg-cvslog] fftools/ffmpeg_filter: remove unused function argument
Anton Khirnov
git at videolan.org
Thu Jul 28 18:01:37 EEST 2022
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun Jun 19 14:21:03 2022 +0200| [7650d3436712c9dc2c5e9f1968b068fa0aed6d1d] | committer: Anton Khirnov
fftools/ffmpeg_filter: remove unused function argument
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7650d3436712c9dc2c5e9f1968b068fa0aed6d1d
---
fftools/ffmpeg_filter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
index 122b17686a..f16f4b13b1 100644
--- a/fftools/ffmpeg_filter.c
+++ b/fftools/ffmpeg_filter.c
@@ -52,7 +52,7 @@ static const enum AVPixelFormat *get_compliance_normal_pix_fmts(const AVCodec *c
}
}
-static enum AVPixelFormat choose_pixel_fmt(AVStream *st, AVCodecContext *enc_ctx,
+static enum AVPixelFormat choose_pixel_fmt(AVCodecContext *enc_ctx,
const AVCodec *codec, enum AVPixelFormat target)
{
if (codec && codec->pix_fmts) {
@@ -102,7 +102,7 @@ static const char *choose_pix_fmts(OutputFilter *ofilter, AVBPrint *bprint)
return av_get_pix_fmt_name(ost->enc_ctx->pix_fmt);
}
if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) {
- return av_get_pix_fmt_name(choose_pixel_fmt(ost->st, ost->enc_ctx, ost->enc, ost->enc_ctx->pix_fmt));
+ return av_get_pix_fmt_name(choose_pixel_fmt(ost->enc_ctx, ost->enc, ost->enc_ctx->pix_fmt));
} else if (ost->enc && ost->enc->pix_fmts) {
const enum AVPixelFormat *p;
More information about the ffmpeg-cvslog
mailing list