diff mbox

[FFmpeg-devel,3/5] lavfi/framesync: Add namespace prefix to framesync_get_class

Message ID 20180624182539.32194-3-sw@jkqxz.net
State Accepted
Commit d4d29052c3ce585526f06e802839e805495a5353
Headers show

Commit Message

Mark Thompson June 24, 2018, 6:25 p.m. UTC
---
 libavfilter/framesync.c | 2 +-
 libavfilter/framesync.h | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

Comments

Nicolas George June 24, 2018, 6:29 p.m. UTC | #1
Mark Thompson (2018-06-24):
> ---
>  libavfilter/framesync.c | 2 +-
>  libavfilter/framesync.h | 6 +++---
>  2 files changed, 4 insertions(+), 4 deletions(-)

LGTM, thanks.

Regards,
Mark Thompson June 24, 2018, 6:42 p.m. UTC | #2
On 24/06/18 19:29, Nicolas George wrote:
> Mark Thompson (2018-06-24):
>> ---
>>  libavfilter/framesync.c | 2 +-
>>  libavfilter/framesync.h | 6 +++---
>>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> LGTM, thanks.

Applied.

Thanks,

- Mark
diff mbox

Patch

diff --git a/libavfilter/framesync.c b/libavfilter/framesync.c
index da12c58a61..22d3f091a3 100644
--- a/libavfilter/framesync.c
+++ b/libavfilter/framesync.c
@@ -61,7 +61,7 @@  enum {
 
 static int consume_from_fifos(FFFrameSync *fs);
 
-const AVClass *framesync_get_class(void)
+const AVClass *ff_framesync_get_class(void)
 {
     return &framesync_class;
 }
diff --git a/libavfilter/framesync.h b/libavfilter/framesync.h
index abf3bf552b..37743cccb7 100644
--- a/libavfilter/framesync.h
+++ b/libavfilter/framesync.h
@@ -211,7 +211,7 @@  typedef struct FFFrameSync {
 /**
  * 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.
@@ -304,11 +304,11 @@  static int name##_framesync_preinit(AVFilterContext *ctx) { \
     return 0; \
 } \
 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) { \
     context *s = obj; \
-    s->fs.class = framesync_get_class(); /* FIXME */ \
+    s->fs.class = ff_framesync_get_class(); /* FIXME */ \
     return prev ? NULL : &s->field; \
 } \
 static const AVClass name##_class = { \