aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/log.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-04 18:25:08 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-25 23:01:53 +0200
commit81b61869207782d71b55d1a262dab340fc2d94cf (patch)
tree435280c967ca9cf0c1fe886e137ce0ed982df443 /libavutil/log.h
parent417bd4f7dd885b3a5134eb8f86833946bf51afa7 (diff)
downloadffmpeg-81b61869207782d71b55d1a262dab340fc2d94cf.tar.gz
avutil/log: Reorder elements of AVClass to make it smaller
Putting child_next besides child_class_iterate is actually nicer. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/log.h')
-rw-r--r--libavutil/log.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavutil/log.h b/libavutil/log.h
index 8727c38afc..99625af538 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -107,11 +107,6 @@ typedef struct AVClass {
int parent_log_context_offset;
/**
- * Return next AVOptions-enabled child or NULL
- */
- void* (*child_next)(void *obj, void *prev);
-
- /**
* Category used for visualization (like color)
* This is only set if the category is equal for all objects using this class.
* available since version (51 << 16 | 56 << 8 | 100)
@@ -131,6 +126,11 @@ typedef struct AVClass {
int (*query_ranges)(struct AVOptionRanges **, void *obj, const char *key, int flags);
/**
+ * Return next AVOptions-enabled child or NULL
+ */
+ void* (*child_next)(void *obj, void *prev);
+
+ /**
* Iterate over the AVClasses corresponding to potential AVOptions-enabled
* children.
*