fftools/ffmpeg_filter: drop a write-only variable

pull/389/head
Anton Khirnov 1 year ago
parent 57021a68d9
commit ad14bdbcfd
  1. 1
      fftools/ffmpeg.h
  2. 1
      fftools/ffmpeg_filter.c

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

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

Loading…
Cancel
Save