From 2dfea67f3b23106148f48840d19f4ec44ad7eeb8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Jun 2016 14:50:32 +0200 Subject: 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. --- video/out/opengl/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/video.c') 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; -- cgit v1.2.3