framesync: switch to child_class_iterate()

This commit is contained in:
Anton Khirnov
2020-05-27 15:34:07 +02:00
parent aba98de6b8
commit 344149cf01
2 changed files with 10 additions and 0 deletions

View File

@ -53,6 +53,13 @@ static const AVClass framesync_class = {
.parent_log_context_offset = OFFSET(parent),
};
const AVClass *ff_framesync_child_class_iterate(void **iter)
{
const AVClass *c = *iter ? NULL : &framesync_class;
*iter = (void *)(uintptr_t)c;
return c;
}
enum {
STATE_BOF,
STATE_RUN,