mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-03 13:24:05 +00:00
lavfi/framesync: Add namespace prefix to framesync_get_class
This commit is contained in:
parent
7ff5310068
commit
d4d29052c3
@ -61,7 +61,7 @@ enum {
|
|||||||
|
|
||||||
static int consume_from_fifos(FFFrameSync *fs);
|
static int consume_from_fifos(FFFrameSync *fs);
|
||||||
|
|
||||||
const AVClass *framesync_get_class(void)
|
const AVClass *ff_framesync_get_class(void)
|
||||||
{
|
{
|
||||||
return &framesync_class;
|
return &framesync_class;
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@ typedef struct FFFrameSync {
|
|||||||
/**
|
/**
|
||||||
* Get the class for the framesync object.
|
* Get the class for the framesync object.
|
||||||
*/
|
*/
|
||||||
const AVClass *framesync_get_class(void);
|
const AVClass *ff_framesync_get_class(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pre-initialize a frame sync structure.
|
* Pre-initialize a frame sync structure.
|
||||||
@ -304,11 +304,11 @@ static int name##_framesync_preinit(AVFilterContext *ctx) { \
|
|||||||
return 0; \
|
return 0; \
|
||||||
} \
|
} \
|
||||||
static const AVClass *name##_child_class_next(const AVClass *prev) { \
|
static const AVClass *name##_child_class_next(const AVClass *prev) { \
|
||||||
return prev ? NULL : framesync_get_class(); \
|
return prev ? NULL : ff_framesync_get_class(); \
|
||||||
} \
|
} \
|
||||||
static void *name##_child_next(void *obj, void *prev) { \
|
static void *name##_child_next(void *obj, void *prev) { \
|
||||||
context *s = obj; \
|
context *s = obj; \
|
||||||
s->fs.class = framesync_get_class(); /* FIXME */ \
|
s->fs.class = ff_framesync_get_class(); /* FIXME */ \
|
||||||
return prev ? NULL : &s->field; \
|
return prev ? NULL : &s->field; \
|
||||||
} \
|
} \
|
||||||
static const AVClass name##_class = { \
|
static const AVClass name##_class = { \
|
||||||
|
Loading…
Reference in New Issue
Block a user