Commit 6b66ef8c authored by stefano's avatar stefano

Make query_formats() increment the scaler_count after each scaler

insertion.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21124 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8f2db1b0
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment