From 9ea977210ca50770e4ce3ba2b8dadb94571d41af Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 10 Jan 2010 14:23:19 +0000 Subject: [PATCH] Make query_formats() increment the scaler_count after each scaler insertion. Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfiltergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 73e5f1476f..d46548e3e2 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -132,7 +132,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx) char scale_args[256]; /* couldn't merge format lists. auto-insert scale filter */ snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d", - scaler_count); + scaler_count++); scale = avfilter_open(avfilter_get_by_name("scale"),inst_name);