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/lcms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/opengl/lcms.h') diff --git a/video/out/opengl/lcms.h b/video/out/opengl/lcms.h index 373a8b8669..2c6543d953 100644 --- a/video/out/opengl/lcms.h +++ b/video/out/opengl/lcms.h @@ -28,7 +28,7 @@ struct gl_lcms; struct gl_lcms *gl_lcms_init(void *talloc_ctx, struct mp_log *log, struct mpv_global *global); void gl_lcms_set_options(struct gl_lcms *p, struct mp_icc_opts *opts); -void gl_lcms_set_memory_profile(struct gl_lcms *p, bstr *profile); +void gl_lcms_set_memory_profile(struct gl_lcms *p, bstr profile); bool gl_lcms_get_lut3d(struct gl_lcms *p, struct lut3d **, enum mp_csp_prim prim, enum mp_csp_trc trc); bool gl_lcms_has_changed(struct gl_lcms *p, enum mp_csp_prim prim, -- cgit v1.2.3