diff --git a/libavfilter/vf_scdet.c b/libavfilter/vf_scdet.c index daddc2e665..8dcce5ada6 100644 --- a/libavfilter/vf_scdet.c +++ b/libavfilter/vf_scdet.c @@ -170,7 +170,7 @@ static int activate(AVFilterContext *ctx) av_ts2timestr(frame->pts, &inlink->time_base)); } if (s->sc_pass) { - if (s->scene_score > s->threshold) + if (s->scene_score >= s->threshold) return ff_filter_frame(outlink, frame); else { av_frame_free(&frame);