-
- Downloads
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:Henrik Gramner <henrik@gramner.com> Reviewed-by:
wm4 <nfxjfg@googlemail.com> Signed-off-by:
Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Showing
- libavfilter/vf_drawtext.c 1 addition, 1 deletionlibavfilter/vf_drawtext.c
- libavformat/cache.c 2 additions, 2 deletionslibavformat/cache.c
- libavformat/nut.c 7 additions, 5 deletionslibavformat/nut.c
- libavformat/nut.h 2 additions, 2 deletionslibavformat/nut.h
- libavformat/nutdec.c 3 additions, 3 deletionslibavformat/nutdec.c
- libavformat/nutenc.c 1 addition, 1 deletionlibavformat/nutenc.c
- libavutil/tree.c 2 additions, 2 deletionslibavutil/tree.c
- libavutil/tree.h 2 additions, 2 deletionslibavutil/tree.h
Loading
Please register or sign in to comment