diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-11-04 17:35:38 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-11-04 23:04:10 +0100 |
commit | 48715285f69d70879353737d7bed049f89f58096 (patch) | |
tree | 8893f530350fdc40633e3726ef00a5fba5c8e774 /tools | |
parent | 70cbf33405f50dfaf77e85f382a188acf17dc71a (diff) | |
download | ffmpeg-48715285f69d70879353737d7bed049f89f58096.tar.gz |
graph2dot: Fix use of deprecated API
Diffstat (limited to 'tools')
-rw-r--r-- | tools/graph2dot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/graph2dot.c b/tools/graph2dot.c index 692ada258c..86d3d14b09 100644 --- a/tools/graph2dot.c +++ b/tools/graph2dot.c @@ -58,7 +58,7 @@ static void print_digraph(FILE *outfile, AVFilterGraph *graph) fprintf(outfile, "node [shape=box]\n"); fprintf(outfile, "rankdir=LR\n"); - for (i = 0; i < graph->filter_count; i++) { + for (i = 0; i < graph->nb_filters; i++) { char filter_ctx_label[128]; const AVFilterContext *filter_ctx = graph->filters[i]; @@ -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]; |