mirror of https://git.ffmpeg.org/ffmpeg.git
Make query_formats() increment the scaler_count after each scaler
insertion. Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
999c23a13a
commit
9ea977210c
|
@ -132,7 +132,7 @@ static int query_formats(AVFilterGraph *graph, AVClass *log_ctx)
|
||||||
char scale_args[256];
|
char scale_args[256];
|
||||||
/* couldn't merge format lists. auto-insert scale filter */
|
/* couldn't merge format lists. auto-insert scale filter */
|
||||||
snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d",
|
snprintf(inst_name, sizeof(inst_name), "auto-inserted scaler %d",
|
||||||
scaler_count);
|
scaler_count++);
|
||||||
scale =
|
scale =
|
||||||
avfilter_open(avfilter_get_by_name("scale"),inst_name);
|
avfilter_open(avfilter_get_by_name("scale"),inst_name);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue