diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-04 04:31:49 +0400 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-04 04:40:01 +0400 |
commit | 0f0f3bd1e022639eb8e9c02b7b18f37071c21763 (patch) | |
tree | 105ef400e9a901ea70a72cac1270b2c1aebf0ab4 /libavfilter/vf_fade.c | |
parent | 38c9ebd2a97a1298e4c5cc9d01d88d69c55be695 (diff) |
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.
Diffstat (limited to 'libavfilter/vf_fade.c')
-rw-r--r-- | libavfilter/vf_fade.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c index 6c795b0da9..d4303d0b0c 100644 --- a/libavfilter/vf_fade.c +++ b/libavfilter/vf_fade.c @@ -71,7 +71,7 @@ static const AVOption fade_options[] = { static const AVClass fade_class = { "FadeContext", - avfilter_default_filter_name, + av_default_item_name, fade_options }; |