diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-08-06 08:50:21 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-08-15 19:34:27 +0200 |
commit | 42cbf66fffed5a8bba2f14b5247ce60d788b9e01 (patch) | |
tree | 4b744e56f719ffc0455331703e844bf1299b8db9 /libavfilter/vf_framestep.c | |
parent | a23d565ea7d41e61f160578f9714a23e695f3bfd (diff) | |
download | ffmpeg-42cbf66fffed5a8bba2f14b5247ce60d788b9e01.tar.gz |
lavfi: move AVFilterLink.{frame,sample}_count_{in,out} to FilterLink
Diffstat (limited to 'libavfilter/vf_framestep.c')
-rw-r--r-- | libavfilter/vf_framestep.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/vf_framestep.c b/libavfilter/vf_framestep.c index da69e2ba6c..115ac45fe4 100644 --- a/libavfilter/vf_framestep.c +++ b/libavfilter/vf_framestep.c @@ -64,9 +64,10 @@ static int config_output_props(AVFilterLink *outlink) static int filter_frame(AVFilterLink *inlink, AVFrame *ref) { + FilterLink *inl = ff_filter_link(inlink); FrameStepContext *framestep = inlink->dst->priv; - if (!(inlink->frame_count_out % framestep->frame_step)) { + if (!(inl->frame_count_out % framestep->frame_step)) { return ff_filter_frame(inlink->dst->outputs[0], ref); } else { av_frame_free(&ref); |