Commit 089d3714 authored by Vitor Sessak's avatar Vitor Sessak

These error messages should print the filter name, not the instance name

Commited in SoC by Vitor Sessak on 2008-05-24 13:08:23

Originally committed as revision 13349 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 12849837
...@@ -211,7 +211,7 @@ static int link_filter_inouts(AVFilterContext *filter, ...@@ -211,7 +211,7 @@ static int link_filter_inouts(AVFilterContext *filter,
if(!p) { if(!p) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
"Not enough inputs specified for the \"%s\" filter.\n", "Not enough inputs specified for the \"%s\" filter.\n",
filter->name); filter->filter->name);
return -1; return -1;
} }
...@@ -231,7 +231,7 @@ static int link_filter_inouts(AVFilterContext *filter, ...@@ -231,7 +231,7 @@ static int link_filter_inouts(AVFilterContext *filter,
if(*currInputs) { if(*currInputs) {
av_log(log_ctx, AV_LOG_ERROR, av_log(log_ctx, AV_LOG_ERROR,
"Too many inputs specified for the \"%s\" filter.\n", "Too many inputs specified for the \"%s\" filter.\n",
filter->name); filter->filter->name);
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment