From bba2a7cc5f7c7aaa32a938f3d4edd9f555f39cdb Mon Sep 17 00:00:00 2001
From: Anton Khirnov <anton@khirnov.net>
Date: Sun, 23 Feb 2014 15:40:06 +0100
Subject: lavfi: use the correct filter context for logging an error.

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

(limited to 'libavfilter')

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index f02358f9fc..c9617dc2ff 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -204,7 +204,7 @@ int avfilter_config_links(AVFilterContext *filter)
 
             if ((config_link = link->dstpad->config_props))
                 if ((ret = config_link(link)) < 0) {
-                    av_log(link->src, AV_LOG_ERROR,
+                    av_log(link->dst, AV_LOG_ERROR,
                            "Failed to configure input pad on %s\n",
                            link->dst->name);
                     return ret;
-- 
cgit v1.2.3