summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-10 13:44:08 +0200
committerwm4 <wm4@nowhere>2014-10-10 13:44:08 +0200
commit26bc6b48313dd0470a3998dace217148fc314271 (patch)
tree29073579b973380a248c89f4d4a8b2a97aa7e671 /video
parent7e4491a7a7e9ab41b38fd2ecb58f7b11731c9e05 (diff)
downloadmpv-26bc6b48313dd0470a3998dace217148fc314271.tar.bz2
mpv-26bc6b48313dd0470a3998dace217148fc314271.tar.xz
Add some missing "const"s
The one in msg.c was mistakenly removed with commit e99a37f6. I didn't actually test the change in ao_sndio.c (but obviously "ap" shouldn't be static).
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 49fd078f6c..7bffa486d2 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -343,7 +343,7 @@ static const struct gl_functions gl_functions[] = {
},
{
.extension = "GLX_SGI_video_sync",
- .functions = (struct gl_function[]) {
+ .functions = (const struct gl_function[]) {
DEF_FN_NAMES(GetVideoSync, "glXGetVideoSyncSGI"),
DEF_FN_NAMES(WaitVideoSync, "glXWaitVideoSyncSGI"),
{0},