diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-11 19:29:34 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-09-23 21:13:00 +0200 |
commit | d6f4b91ba51775d04ee146794d1ea4767c5b6d0b (patch) | |
tree | 81cccd735eebdc709b384c0fe43b85131733a05d /libavfilter/framesync.c | |
parent | c1b6165b7341a6a83d289463c65119a5843aae5a (diff) | |
download | ffmpeg-d6f4b91ba51775d04ee146794d1ea4767c5b6d0b.tar.gz |
avfilter/framesync: Remove redundant setting of AVClass
Every filter exposing the framesync options via its child_next
callback already calls framesync_preinit() in its preinit callback.
So the filter is already preinited whenever its child_next is called.
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavfilter/framesync.c')
-rw-r--r-- | libavfilter/framesync.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavfilter/framesync.c b/libavfilter/framesync.c index bc6fce81f4..7510550d8e 100644 --- a/libavfilter/framesync.c +++ b/libavfilter/framesync.c @@ -68,11 +68,6 @@ enum { static int consume_from_fifos(FFFrameSync *fs); -const AVClass *ff_framesync_get_class(void) -{ - return &framesync_class; -} - void ff_framesync_preinit(FFFrameSync *fs) { if (fs->class) |