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>
This commit is contained in:
Andreas Rheinhardt
2021-09-11 19:29:34 +02:00
parent c1b6165b73
commit d6f4b91ba5
2 changed files with 3 additions and 11 deletions

View File

@@ -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)