Browse Source

Make query_formats() increment the scaler_count after each scaler

insertion.

Originally committed as revision 21124 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Stefano Sabatini 16 years ago
parent
commit
9ea977210c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/avfiltergraph.c

+ 1
- 1
libavfilter/avfiltergraph.c View File

@@ -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);



Loading…
Cancel
Save