diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-28 12:00:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-05 16:15:04 +0200 |
commit | ad14bdbcfd0fbc349c7f747d0427956ec504b81f (patch) | |
tree | 9f269850a364500414f3c6e2cdb86629ede45bfd | |
parent | 57021a68d94b3f48cda7f567d645ae9425d45101 (diff) | |
download | ffmpeg-ad14bdbcfd0fbc349c7f747d0427956ec504b81f.tar.gz |
fftools/ffmpeg_filter: drop a write-only variable
-rw-r--r-- | fftools/ffmpeg.h | 1 | ||||
-rw-r--r-- | fftools/ffmpeg_filter.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index cef4b5d000..0e9ad5f9f7 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -296,7 +296,6 @@ typedef struct OutputFilter { /* desired output stream properties */ int width, height; - AVRational frame_rate; int format; int sample_rate; AVChannelLayout ch_layout; diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index c3075ef854..287b1e6f9d 100644 --- a/fftools/ffmpeg_filter.c +++ b/fftools/ffmpeg_filter.c @@ -654,7 +654,6 @@ void ofilter_bind_ost(OutputFilter *ofilter, OutputStream *ost) switch (ost->enc_ctx->codec_type) { case AVMEDIA_TYPE_VIDEO: - ofilter->frame_rate = ost->frame_rate; ofilter->width = ost->enc_ctx->width; ofilter->height = ost->enc_ctx->height; if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) { |