Putting child_next besides child_class_iterate is actually nicer.

Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com>
---
 libavutil/log.h | 10 +++++-----
 1 file 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
@@ -106,11 +106,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.
@@ -130,6 +125,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.
-- 
2.30.2

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to