aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-01-05 10:22:57 +0100
committerPaul B Mahol <onemda@gmail.com>2020-01-05 10:22:57 +0100
commite26d66daaa835932901224123ae318ad8d6ca558 (patch)
tree25323f42f73a25bde948b205c538c580c15cf475 /libavfilter
parent1187dbb7e9fbba8214f90033c99d5fccc699ca76 (diff)
downloadffmpeg-e26d66daaa835932901224123ae318ad8d6ca558.tar.gz
avfilter/af_dynaudnorm: use already available pointer
Instead of dereferencing same thing again.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/af_dynaudnorm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_dynaudnorm.c b/libavfilter/af_dynaudnorm.c
index 6d0a71c0b7..65ad7dade2 100644
--- a/libavfilter/af_dynaudnorm.c
+++ b/libavfilter/af_dynaudnorm.c
@@ -701,7 +701,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
{
AVFilterContext *ctx = inlink->dst;
DynamicAudioNormalizerContext *s = ctx->priv;
- AVFilterLink *outlink = inlink->dst->outputs[0];
+ AVFilterLink *outlink = ctx->outputs[0];
int ret = 1;
if (!cqueue_empty(s->gain_history_smoothed[0])) {