mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
fftools/ffmpeg_filter: drop a write-only variable
This commit is contained in:
parent
57021a68d9
commit
ad14bdbcfd
@ -296,7 +296,6 @@ typedef struct OutputFilter {
|
|||||||
|
|
||||||
/* desired output stream properties */
|
/* desired output stream properties */
|
||||||
int width, height;
|
int width, height;
|
||||||
AVRational frame_rate;
|
|
||||||
int format;
|
int format;
|
||||||
int sample_rate;
|
int sample_rate;
|
||||||
AVChannelLayout ch_layout;
|
AVChannelLayout ch_layout;
|
||||||
|
@ -654,7 +654,6 @@ void ofilter_bind_ost(OutputFilter *ofilter, OutputStream *ost)
|
|||||||
|
|
||||||
switch (ost->enc_ctx->codec_type) {
|
switch (ost->enc_ctx->codec_type) {
|
||||||
case AVMEDIA_TYPE_VIDEO:
|
case AVMEDIA_TYPE_VIDEO:
|
||||||
ofilter->frame_rate = ost->frame_rate;
|
|
||||||
ofilter->width = ost->enc_ctx->width;
|
ofilter->width = ost->enc_ctx->width;
|
||||||
ofilter->height = ost->enc_ctx->height;
|
ofilter->height = ost->enc_ctx->height;
|
||||||
if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) {
|
if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user