tools/graph2dot: fix use of deprecated *put_count
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Aug 2013 17:37:37 +0000 (19:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Aug 2013 17:37:37 +0000 (19:37 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tools/graph2dot.c

index 2daceb6..964322d 100644 (file)
@@ -66,7 +66,7 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph)
                  filter_ctx->name,
                  filter_ctx->filter->name);
 
-        for (j = 0; j < filter_ctx->output_count; j++) {
+        for (j = 0; j < filter_ctx->nb_outputs; j++) {
             AVFilterLink *link = filter_ctx->outputs[j];
             if (link) {
                 char dst_filter_ctx_label[128];