From 0f0f3bd1e022639eb8e9c02b7b18f37071c21763 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Mon, 4 Jun 2012 02:31:49 +0200 Subject: lavfi: use av_default_item_name() as filter private context logger avfilter_default_filter_name() is supposed to access an AVFilterContext struct, if used with a private struct it will cause a crash since it will access fields which are non defined in the private struct. --- libavfilter/vf_ass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_ass.c') diff --git a/libavfilter/vf_ass.c b/libavfilter/vf_ass.c index 3503b2665f..d0e204939d 100644 --- a/libavfilter/vf_ass.c +++ b/libavfilter/vf_ass.c @@ -56,7 +56,7 @@ static const AVOption ass_options[] = { static const AVClass ass_class = { "AssContext", - avfilter_default_filter_name, + av_default_item_name, ass_options }; -- cgit v1.2.3