[FFmpeg-cvslog] fftools/ffmpeg_filter: drop a write-only variable
Anton Khirnov
git at videolan.org
Mon Jun 5 17:30:53 EEST 2023
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sun May 28 12:00:19 2023 +0200| [ad14bdbcfd0fbc349c7f747d0427956ec504b81f] | committer: Anton Khirnov
fftools/ffmpeg_filter: drop a write-only variable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad14bdbcfd0fbc349c7f747d0427956ec504b81f
---
fftools/ffmpeg.h | 1 -
fftools/ffmpeg_filter.c | 1 -
2 files changed, 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) {
More information about the ffmpeg-cvslog
mailing list