diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/lavfi-showfiltfmts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lavfi-showfiltfmts.c b/tools/lavfi-showfiltfmts.c index 0671bcd514..b0787ea764 100644 --- a/tools/lavfi-showfiltfmts.c +++ b/tools/lavfi-showfiltfmts.c @@ -49,7 +49,7 @@ int main(int argc, char **argv) return 1; } - if (!(filter_ctx = avfilter_open(filter, NULL))) { + if (avfilter_open(&filter_ctx, filter, NULL) < 0) { fprintf(stderr, "Inpossible to open filter with name '%s'\n", filter_name); return 1; } |