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
This commit is contained in:
Vitor Sessak 2008-05-24 20:42:00 +00:00
parent 12849837d4
commit 089d371450

View File

@ -211,7 +211,7 @@ static int link_filter_inouts(AVFilterContext *filter,
if(!p) {
av_log(log_ctx, AV_LOG_ERROR,
"Not enough inputs specified for the \"%s\" filter.\n",
filter->name);
filter->filter->name);
return -1;
}
@ -231,7 +231,7 @@ static int link_filter_inouts(AVFilterContext *filter,
if(*currInputs) {
av_log(log_ctx, AV_LOG_ERROR,
"Too many inputs specified for the \"%s\" filter.\n",
filter->name);
filter->filter->name);
return -1;
}