aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-17 19:44:24 +0100
committerAnton Khirnov <anton@khirnov.net>2013-04-11 20:39:13 +0200
commit48a5adab62bd2a553f5069d41fa632a0701835e5 (patch)
treec779ce2ea3ad4465279db314a0c3d75cd368b30e /libavfilter/graphparser.c
parent1565cbc65cbb9f95c11367314a080068895e0cf0 (diff)
downloadffmpeg-48a5adab62bd2a553f5069d41fa632a0701835e5.tar.gz
lavfi: add avfilter_init_str() to replace avfilter_init_filter().
Drop the unused opaque parameter from its signature.
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index 5738a12e06..d00da9cb2d 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -123,7 +123,8 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
args = tmp_args;
}
- if ((ret = avfilter_init_filter(*filt_ctx, args, NULL)) < 0) {
+ ret = avfilter_init_str(*filt_ctx, args);
+ if (ret < 0) {
av_log(log_ctx, AV_LOG_ERROR,
"Error initializing filter '%s' with args '%s'\n", filt_name, args);
return ret;