[vlc-commits] placebo: missing const, fix warnings
Rémi Denis-Courmont
git at videolan.org
Sun Mar 3 10:25:02 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 3 09:37:10 2019 +0200| [64c7e418cb6a35e720d90dce1b70ce9e42e5a9b0] | committer: Rémi Denis-Courmont
placebo: missing const, fix warnings
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64c7e418cb6a35e720d90dce1b70ce9e42e5a9b0
---
modules/video_output/placebo_utils.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/placebo_utils.h b/modules/video_output/placebo_utils.h
index e3ad9392a1..4ecf60e7e9 100644
--- a/modules/video_output/placebo_utils.h
+++ b/modules/video_output/placebo_utils.h
@@ -283,7 +283,7 @@ static const char * const scale_text[] = {
"Custom (see below)",
};
-static const struct pl_filter_config *scale_config[] = {
+static const struct pl_filter_config *const scale_config[] = {
[SCALE_BUILTIN] = NULL,
[SCALE_SPLINE16] = &pl_filter_spline16,
[SCALE_SPLINE36] = &pl_filter_spline36,
@@ -391,7 +391,7 @@ static const char * const filter_text[] = {
"Spline64",
};
-static const struct pl_filter_function *filter_fun[] = {
+static const struct pl_filter_function *const filter_fun[] = {
[FILTER_NONE] = NULL,
[FILTER_BOX] = &pl_filter_function_box,
[FILTER_TRIANGLE] = &pl_filter_function_triangle,
More information about the vlc-commits
mailing list