mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
avfilter/af_afir: return early when giving video frame
This commit is contained in:
parent
fcbde5e6a4
commit
8dc5eb43b0
@ -512,9 +512,7 @@ static int activate(AVFilterContext *ctx)
|
||||
if (s->response && s->have_coeffs) {
|
||||
if (ff_outlink_frame_wanted(ctx->outputs[1])) {
|
||||
s->video->pts = s->pts;
|
||||
ret = ff_filter_frame(ctx->outputs[1], av_frame_clone(s->video));
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
return ff_filter_frame(ctx->outputs[1], av_frame_clone(s->video));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user