Browse Source

lavfi: use the correct filter context for logging an error.

tags/n2.3
Anton Khirnov 11 years ago
parent
commit
bba2a7cc5f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avfilter.c

+ 1
- 1
libavfilter/avfilter.c View File

@@ -204,7 +204,7 @@ int avfilter_config_links(AVFilterContext *filter)


if ((config_link = link->dstpad->config_props)) if ((config_link = link->dstpad->config_props))
if ((ret = config_link(link)) < 0) { 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", "Failed to configure input pad on %s\n",
link->dst->name); link->dst->name);
return ret; return ret;


Loading…
Cancel
Save