diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-10 14:23:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-01-10 14:23:19 +0000 |
commit | 9ea977210ca50770e4ce3ba2b8dadb94571d41af (patch) | |
tree | d010758a6a93e4ba7ed9e1786e7fef2eee876f5c /libavfilter | |
parent | 999c23a13aaf8b2f773d56ccafd38290fc5f7af0 (diff) | |
download | ffmpeg-9ea977210ca50770e4ce3ba2b8dadb94571d41af.tar.gz |
Make query_formats() increment the scaler_count after each scaler
insertion.
Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |