[FFmpeg-cvslog] r21124 - trunk/libavfilter/avfiltergraph.c

stefano subversion
Sun Jan 10 15:23:19 CET 2010


Author: stefano
Date: Sun Jan 10 15:23:19 2010
New Revision: 21124

Log:
Make query_formats() increment the scaler_count after each scaler
insertion.

Modified:
   trunk/libavfilter/avfiltergraph.c

Modified: trunk/libavfilter/avfiltergraph.c
==============================================================================
--- trunk/libavfilter/avfiltergraph.c	Sun Jan 10 14:45:55 2010	(r21123)
+++ trunk/libavfilter/avfiltergraph.c	Sun Jan 10 15:23:19 2010	(r21124)
@@ -132,7 +132,7 @@ static int query_formats(AVFilterGraph *
                     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);
 



More information about the ffmpeg-cvslog mailing list