mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 23:32:33 +00:00
fftools/ffmpeg_filter: drop a redundant check
OutputFilterOptions.frame_rates are always NULL if the conditional is true.
This commit is contained in:
parent
cefc7d1ff4
commit
ac578ccb8e
@ -856,8 +856,7 @@ int ofilter_bind_ost(OutputFilter *ofilter, OutputStream *ost,
|
||||
ofp->fps.vsync_method = opts->vsync_method;
|
||||
ofp->fps.framerate = ost->frame_rate;
|
||||
ofp->fps.framerate_max = ost->max_frame_rate;
|
||||
ofp->fps.framerate_supported = ost->force_fps || !opts->enc ?
|
||||
NULL : opts->frame_rates;
|
||||
ofp->fps.framerate_supported = opts->frame_rates;
|
||||
|
||||
// reduce frame rate for mpeg4 to be within the spec limits
|
||||
if (opts->enc && opts->enc->id == AV_CODEC_ID_MPEG4)
|
||||
|
Loading…
Reference in New Issue
Block a user