[FFmpeg-cvslog] avfilter/af_surround: use outlink variable already available

Paul B Mahol git at videolan.org
Tue Feb 22 23:49:47 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Feb 22 14:43:47 2022 +0100| [570fda56b9195bb0b13969b5fa7e9bcf363380eb] | committer: Paul B Mahol

avfilter/af_surround: use outlink variable already available

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

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

diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 2a1208f703..9f735e7be6 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -1628,7 +1628,7 @@ static int activate(AVFilterContext *ctx)
         return ret;
 
     if (ff_inlink_acknowledge_status(inlink, &status, &pts)) {
-        ff_outlink_set_status(ctx->outputs[0], status, pts);
+        ff_outlink_set_status(outlink, status, pts);
         return 0;
     }
 



More information about the ffmpeg-cvslog mailing list