[FFmpeg-devel] [PATCH] avutil/tree: fix typo in documentation

Michael Niedermayer michael at niedermayer.cc
Sat Jul 22 18:40:01 EEST 2023


Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
 libavutil/tree.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/tree.h b/libavutil/tree.h
index bbb8fbb126..18a191c06d 100644
--- a/libavutil/tree.h
+++ b/libavutil/tree.h
@@ -97,7 +97,7 @@ void *av_tree_find(const struct AVTreeNode *root, void *key,
  *                 return av_tree_insert(rootp, key, cmp, next);
  *             }
  *             void *tree_remove(struct AVTreeNode **rootp, void *key,
- *                               int (*cmp)(void *key, const void *b, AVTreeNode **next))
+ *                               int (*cmp)(void *key, const void *b), AVTreeNode **next)
  *             {
  *                 av_freep(next);
  *                 return av_tree_insert(rootp, key, cmp, next);
-- 
2.17.1



More information about the ffmpeg-devel mailing list