From 089d3714502f8e1ee25e66f3ac3d2e421f6965a1 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Sat, 24 May 2008 20:42:00 +0000 Subject: 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 --- libavfilter/graphparser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter') diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c index ad1c5fa609..624b098b90 100644 --- a/libavfilter/graphparser.c +++ b/libavfilter/graphparser.c @@ -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; } -- cgit v1.2.3