Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-23 18:46:41 +0300
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-10-24 22:14:59 +0300
commit4c96985af1b8870482b6b6ef9120960633f62cee (patch)
tree6ca875a85c153086750bf90be45a14fd4c9b636a /libavfilter/vf_lut.c
parent49d8a70dc51ea5f05d747b4acc4e772252e86cbc (diff)
all: remove some casts of function pointer to void *
These casts are unnecessary, and may safely be removed. Found by enabling -Wpedantic on clang 3.7. Tested with FATE. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Diffstat (limited to 'libavfilter/vf_lut.c')
-rw-r--r--libavfilter/vf_lut.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c
index 7d708f615b..f0a2aba910 100644
--- a/libavfilter/vf_lut.c
+++ b/libavfilter/vf_lut.c
@@ -186,9 +186,9 @@ static double compute_gammaval709(void *opaque, double gamma)
}
static double (* const funcs1[])(void *, double) = {
- (void *)clip,
- (void *)compute_gammaval,
- (void *)compute_gammaval709,
+ clip,
+ compute_gammaval,
+ compute_gammaval709,
NULL
};