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

avfilter/vf_deshake: use a void * comparator for consistency


For generality, qsort uses a comparator whose elements are void *. This
makes the comparator have such a form, and thus makes the void * cast of
the comparator pointer useless. Furthermore, this makes the code more
consistent with other usages of qsort across the codebase.

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 38f4e973
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment