diff options
author | wm4 <wm4@nowhere> | 2016-06-04 14:50:32 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-04 14:50:32 +0200 |
commit | 2dfea67f3b23106148f48840d19f4ec44ad7eeb8 (patch) | |
tree | 519b81fd39d1264deca315b0a56b73a092f9695a /video/out/opengl/lcms.h | |
parent | a9ffe38aa115e78ed8aa6031cd611db650ec40dd (diff) | |
download | mpv-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/lcms.h')
-rw-r--r-- | video/out/opengl/lcms.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |