Browse Source

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
tags/v0.5
Vitor Sessak 17 years ago
parent
commit
089d371450
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavfilter/graphparser.c

+ 2
- 2
libavfilter/graphparser.c 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;
}



Loading…
Cancel
Save