History

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.

Andreas Rheinhardt committed 5 years ago

Commit d6f4b911 parent c1b61652 files · +3 −11Browse files

Showing the changes to libavfilter/framesync.c (1 of 2 files). Show all

Unified · Split

libavfilter/framesync.c+0−5
@@ -68,11 +68,6 @@ enum { · 67 unmodified lines
6868
6969 static int consume_from_fifos(FFFrameSync *fs);
7070
71−const AVClass *ff_framesync_get_class(void)
72−{
73− return &framesync_class;
74−}
75−
7671 void ff_framesync_preinit(FFFrameSync *fs)
7772 {
7873 if (fs->class)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t