diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-04 02:31:49 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-04 02:40:01 +0200 |
commit | 0f0f3bd1e022639eb8e9c02b7b18f37071c21763 (patch) | |
tree | 105ef400e9a901ea70a72cac1270b2c1aebf0ab4 /libavfilter/vsrc_mandelbrot.c | |
parent | 38c9ebd2a97a1298e4c5cc9d01d88d69c55be695 (diff) | |
download | ffmpeg-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/vsrc_mandelbrot.c')
-rw-r--r-- | libavfilter/vsrc_mandelbrot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_mandelbrot.c b/libavfilter/vsrc_mandelbrot.c index 92b4b387e8..2ecb03d9b2 100644 --- a/libavfilter/vsrc_mandelbrot.c +++ b/libavfilter/vsrc_mandelbrot.c @@ -105,7 +105,7 @@ static const AVOption mandelbrot_options[] = { static const AVClass mandelbrot_class = { "MBContext", - avfilter_default_filter_name, + av_default_item_name, mandelbrot_options }; |