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/f_streamselect.c | |
parent | a23d565ea7d41e61f160578f9714a23e695f3bfd (diff) | |
download | ffmpeg-42cbf66fffed5a8bba2f14b5247ce60d788b9e01.tar.gz |
lavfi: move AVFilterLink.{frame,sample}_count_{in,out} to FilterLink
Diffstat (limited to 'libavfilter/f_streamselect.c')
-rw-r--r-- | libavfilter/f_streamselect.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c index 285e7d7315..07d55a7506 100644 --- a/libavfilter/f_streamselect.c +++ b/libavfilter/f_streamselect.c @@ -65,11 +65,12 @@ static int process_frame(FFFrameSync *fs) for (j = 0; j < ctx->nb_inputs; j++) { for (i = 0; i < s->nb_map; i++) { + FilterLink *outl = ff_filter_link(ctx->outputs[i]); if (s->map[i] == j) { AVFrame *out; if (s->is_audio && s->last_pts[j] == in[j]->pts && - ctx->outputs[i]->frame_count_in > 0) + outl->frame_count_in > 0) continue; out = av_frame_clone(in[j]); if (!out) |