summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-04 14:50:32 +0200
committerwm4 <wm4@nowhere>2016-06-04 14:50:32 +0200
commit2dfea67f3b23106148f48840d19f4ec44ad7eeb8 (patch)
tree519b81fd39d1264deca315b0a56b73a092f9695a /video/out/opengl/video.c
parenta9ffe38aa115e78ed8aa6031cd611db650ec40dd (diff)
downloadmpv-2dfea67f3b23106148f48840d19f4ec44ad7eeb8.tar.bz2
mpv-2dfea67f3b23106148f48840d19f4ec44ad7eeb8.tar.xz
vo_opengl: minor simplification to gl_lcms_set_memory_profile()
Passing the bstr thing as pointer makes no sense. Everywhere else bstr structs are passed by value because they're so small. Only when it's supposed to receive a return value they're not.
Diffstat (limited to 'video/out/opengl/video.c')
-rw-r--r--video/out/opengl/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 3982793f94..7eb7736c04 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -613,7 +613,7 @@ static void uninit_rendering(struct gl_video *p)
// takes over ownership.
void gl_video_set_icc_profile(struct gl_video *p, bstr icc_data)
{
- gl_lcms_set_memory_profile(p->cms, &icc_data);
+ gl_lcms_set_memory_profile(p->cms, icc_data);
if (p->use_lut_3d)
return;