summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lavfi-showfiltfmts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c
index 34a6208a75..19bb6f6819 100644
--- a/tools/lavfi-showfiltfmts.c
+++ b/tools/lavfi-showfiltfmts.c
@@ -93,7 +93,7 @@ int main(int argc, char **argv)
av_pix_fmt_descriptors[fmts->formats[j]].name);
}
- avfilter_destroy(filter_ctx);
+ avfilter_free(filter_ctx);
fflush(stdout);
return 0;
}