Skip to content
Snippets Groups Projects
Commit 7c8fcbbd authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde
Browse files

avutil/tree: add additional const qualifier to the comparator


libc's qsort comparator has a const qualifier on both arguments. This
adds a missing const qualifier to exactly match the comparator API.

Existing usages of av_tree_find, av_tree_insert are appropriately
modified: type signature changes of the comparators, and removal of
unnecessary void * casts of function pointers.

Reviewed-by: default avatarHenrik Gramner <henrik@gramner.com>
Reviewed-by: default avatarwm4 <nfxjfg@googlemail.com>
Signed-off-by: default avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
parent 94f333f9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment