adjust: simplify/factor callbacks
commit21fac4884cdac0ddfdb1fca3593af36f00f740cb
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 26 Feb 2020 18:38:01 +0000 (26 20:38 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 26 Feb 2020 19:19:21 +0000 (26 21:19 +0200)
tree92a0c6b92e240450d47243bd912e4ff0f4833efd
parent8d5ec2524e087fe177503a585679d0787b7d41fe
adjust: simplify/factor callbacks

5 of the 6 callbacks do the exact same at a different offset.
Remove the redundant string comparison and factor the callbacks by
type.
modules/video_filter/adjust.c