summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-07 09:28:58 +0100
committerwm4 <wm4@nowhere>2014-11-07 09:28:58 +0100
commit97b4b4c8e029e407aba72b58aaadebc1318f5242 (patch)
treeeb20357093358d2bf052201ae9fcacbcb96e1314
parent68ad0fce1f84c2c60a662588d432f7d54811a223 (diff)
downloadmpv-97b4b4c8e029e407aba72b58aaadebc1318f5242.tar.bz2
mpv-97b4b4c8e029e407aba72b58aaadebc1318f5242.tar.xz
vo_wayland: drop redundant "const"
-rw-r--r--video/out/vo_wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c
index 8c07a7d249..168763ed5c 100644
--- a/video/out/vo_wayland.c
+++ b/video/out/vo_wayland.c
@@ -47,7 +47,7 @@ static const struct wl_callback_listener frame_listener;
static const struct wl_buffer_listener buffer_listener;
// TODO: pay attention to the reported subpixel order
-static const format_t const format_table[] = {
+static const format_t format_table[] = {
{WL_SHM_FORMAT_ARGB8888, IMGFMT_BGRA}, // 8b 8g 8r 8a
{WL_SHM_FORMAT_XRGB8888, IMGFMT_BGR0},
{WL_SHM_FORMAT_RGB332, IMGFMT_RGB8}, // 3b 3g 2r