avfilter: remove opaque passing hacks

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2013-04-12 01:55:59 +02:00
parent 3fc7b47145
commit 0acf7e268b
2 changed files with 2 additions and 11 deletions

View File

@@ -119,7 +119,7 @@ int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
if (!*filt_ctx)
return AVERROR(ENOMEM);
ret = avfilter_init_filter(*filt_ctx, args, opaque);
ret = avfilter_init_str(*filt_ctx, args);
if (ret < 0)
goto fail;