[FFmpeg-cvslog] avfilter/f_zmq: fix graph argument

James Almer git at videolan.org
Fri Aug 16 15:53:50 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Aug 16 09:53:22 2024 -0300| [211c88b9d5f10e8ad53a2d9d786ab07bae6a2a8e] | committer: James Almer

avfilter/f_zmq: fix graph argument

Fixes regression since d566a37003d0257229f06436bef8062fee3af6e9.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavfilter/f_zmq.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavfilter/f_zmq.c b/libavfilter/f_zmq.c
index 03c6c65c93..3409673677 100644
--- a/libavfilter/f_zmq.c
+++ b/libavfilter/f_zmq.c
@@ -30,6 +30,7 @@
 #include "libavutil/mem.h"
 #include "libavutil/opt.h"
 #include "avfilter.h"
+#include "filters.h"
 #include "internal.h"
 #include "audio.h"
 #include "video.h"
@@ -176,7 +177,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *ref)
         av_log(ctx, AV_LOG_VERBOSE,
                "Processing command #%d target:%s command:%s arg:%s\n",
                zmq->command_count, cmd.target, cmd.command, cmd.arg);
-        ret = avfilter_graph_send_command(inlink->graph,
+        ret = avfilter_graph_send_command(ff_filter_link(inlink)->graph,
                                           cmd.target, cmd.command, cmd.arg,
                                           cmd_buf, sizeof(cmd_buf),
                                           AVFILTER_CMD_FLAG_ONE);



More information about the ffmpeg-cvslog mailing list