summaryrefslogtreecommitdiff
path: root/libavfilter/af_aformat.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-06-04 02:31:49 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-06-04 02:40:01 +0200
commit0f0f3bd1e022639eb8e9c02b7b18f37071c21763 (patch)
tree105ef400e9a901ea70a72cac1270b2c1aebf0ab4 /libavfilter/af_aformat.c
parent38c9ebd2a97a1298e4c5cc9d01d88d69c55be695 (diff)
downloadffmpeg-0f0f3bd1e022639eb8e9c02b7b18f37071c21763.tar.gz
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/af_aformat.c')
-rw-r--r--libavfilter/af_aformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c
index 1fcaee7535..35e7db880a 100644
--- a/libavfilter/af_aformat.c
+++ b/libavfilter/af_aformat.c
@@ -55,7 +55,7 @@ static const AVOption options[] = {
static const AVClass aformat_class = {
.class_name = "aformat filter",
- .item_name = avfilter_default_filter_name,
+ .item_name = av_default_item_name,
.option = options,
.version = LIBAVUTIL_VERSION_INT,
.category = AV_CLASS_CATEGORY_FILTER,