diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-05 06:30:54 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-08-05 17:53:43 +0200 |
commit | 304cb08693220b1e8a09273f28688537fd9ff39e (patch) | |
tree | cef8a2d7be24dde8a0d654843faaaf474684fbac /libavfilter/buffersink.c | |
parent | b3a0548a981db52911dd34d9de254c4fee0a8f79 (diff) |
avfilter/avfilter: Remove unused partial_buf
It is unused since 02aa0701ae0dc2def8db640c9e3c06dc1b5de70c.
The corresponding size field is write-only since then.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/buffersink.c')
-rw-r--r-- | libavfilter/buffersink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index c4147bf732..07c4812f29 100644 --- a/libavfilter/buffersink.c +++ b/libavfilter/buffersink.c @@ -199,8 +199,7 @@ void av_buffersink_set_frame_size(AVFilterContext *ctx, unsigned frame_size) { AVFilterLink *inlink = ctx->inputs[0]; - inlink->min_samples = inlink->max_samples = - inlink->partial_buf_size = frame_size; + inlink->min_samples = inlink->max_samples = frame_size; } #define MAKE_AVFILTERLINK_ACCESSOR(type, field) \ |