]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/tree.h
main() --> main(void)
[ffmpeg] / libavutil / tree.h
index 0f982417a04f02cc7ee9ad45ac19c95f4de09e80..146d35d56ecbcf7a5957386856f36279eb5c8d18 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef TREE_H
-#define TREE_H
+/**
+ * @file tree.h
+ * A tree container.
+ * @author Michael Niedermayer <michaelni@gmx.at>
+ */
+
+#ifndef FFMPEG_TREE_H
+#define FFMPEG_TREE_H
 
 struct AVTreeNode;
 
@@ -42,11 +48,11 @@ void *av_tree_find(const struct AVTreeNode *root, void *key, int (*cmp)(void *ke
  *              to keep the tree balanced.
  *
  * @return If no insertion happened, the found element.
- *         If an insertion happened, then either key or NULL is returned (which
- *         one it is depends on the tree state and the implementation, you
- *         should make no assumptions that it's one or the other in the code).
+ *         If an insertion happened, then either key or NULL will be returned.
+ *         Which one it is depends on the tree state and the implementation. You
+ *         should make no assumptions that it's one or the other in the code.
  */
 void *av_tree_insert(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b));
 void av_tree_destroy(struct AVTreeNode *t);
 
-#endif /* TREE_H */
+#endif /* FFMPEG_TREE_H */