summaryrefslogtreecommitdiff
path: root/libavfilter/af_loudnorm.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-05 06:30:54 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-05 17:53:43 +0200
commit304cb08693220b1e8a09273f28688537fd9ff39e (patch)
treecef8a2d7be24dde8a0d654843faaaf474684fbac /libavfilter/af_loudnorm.c
parentb3a0548a981db52911dd34d9de254c4fee0a8f79 (diff)
downloadffmpeg-304cb08693220b1e8a09273f28688537fd9ff39e.tar.gz
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/af_loudnorm.c')
-rw-r--r--libavfilter/af_loudnorm.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/af_loudnorm.c b/libavfilter/af_loudnorm.c
index 5a3e762b27..a07e8a3c93 100644
--- a/libavfilter/af_loudnorm.c
+++ b/libavfilter/af_loudnorm.c
@@ -504,8 +504,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
s->pts +=
out->nb_samples =
inlink->min_samples =
- inlink->max_samples =
- inlink->partial_buf_size = subframe_length;
+ inlink->max_samples = subframe_length;
s->frame_type = INNER_FRAME;
break;
@@ -761,8 +760,7 @@ static int config_input(AVFilterLink *inlink)
if (s->frame_type != LINEAR_MODE) {
inlink->min_samples =
- inlink->max_samples =
- inlink->partial_buf_size = frame_size(inlink->sample_rate, 3000);
+ inlink->max_samples = frame_size(inlink->sample_rate, 3000);
}
s->pts = AV_NOPTS_VALUE;