[FFmpeg-cvslog] avfilter/af_dynaudnorm: use already available pointer

Paul B Mahol git at videolan.org
Sun Jan 5 11:26:44 EET 2020


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Jan  5 10:22:57 2020 +0100| [e26d66daaa835932901224123ae318ad8d6ca558] | committer: Paul B Mahol

avfilter/af_dynaudnorm: use already available pointer

Instead of dereferencing same thing again.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e26d66daaa835932901224123ae318ad8d6ca558
---

 libavfilter/af_dynaudnorm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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])) {



More information about the ffmpeg-cvslog mailing list