diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-22 03:36:23 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-22 03:36:23 +0200 |
commit | df83c8a602f6c928c13930b74c495edfd5037b33 (patch) | |
tree | 6eb9969d3498188e9f7fac22396eb8599c5cb516 /src/egl.c | |
parent | 46da55b1eafef7495204a6733193057853d6575a (diff) |
Fix audio recording (channel layout) for ffmpeg 7
Diffstat (limited to 'src/egl.c')
-rw-r--r-- | src/egl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -328,7 +328,7 @@ static bool gsr_egl_switch_to_glx_context(gsr_egl *self) { } static bool gsr_egl_load_egl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->eglGetError, "eglGetError" }, { (void**)&self->eglGetDisplay, "eglGetDisplay" }, { (void**)&self->eglInitialize, "eglInitialize" }, @@ -373,7 +373,7 @@ static bool gsr_egl_proc_load_egl(gsr_egl *self) { } static bool gsr_egl_load_glx(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->glXGetProcAddress, "glXGetProcAddress" }, { (void**)&self->glXChooseFBConfig, "glXChooseFBConfig" }, { (void**)&self->glXMakeContextCurrent, "glXMakeContextCurrent" }, @@ -403,7 +403,7 @@ static bool gsr_egl_load_glx(gsr_egl *self, void *library) { } static bool gsr_egl_load_gl(gsr_egl *self, void *library) { - dlsym_assign required_dlsym[] = { + const dlsym_assign required_dlsym[] = { { (void**)&self->glGetError, "glGetError" }, { (void**)&self->glGetString, "glGetString" }, { (void**)&self->glFlush, "glFlush" }, |