mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
fftools/ffmpeg_filter: Fix check
Fixes Coverity issues #1596529, #1596531. Introduced in 8e35e33d42efb89ff7e3da92b841a3b43a5a95bc. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
67c7c44c79
commit
4c8a6631ad
@ -862,7 +862,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 ?
|
||||
ofp->fps.framerate_supported = ost->force_fps || !opts->enc ?
|
||||
NULL : opts->enc->supported_framerates;
|
||||
|
||||
// reduce frame rate for mpeg4 to be within the spec limits
|
||||
|
Loading…
x
Reference in New Issue
Block a user