From a9ffe38aa115e78ed8aa6031cd611db650ec40dd Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 4 Jun 2016 13:44:46 +0200 Subject: vo_opengl: remove pointless NULL-check It's never NULL. --- video/out/opengl/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 5c24bdbb1d..3982793f94 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -632,7 +632,7 @@ static bool gl_video_get_lut3d(struct gl_video *p, enum mp_csp_prim prim, { GL *gl = p->gl; - if (!p->cms || !p->use_lut_3d) + if (!p->use_lut_3d) return false; if (!gl_lcms_has_changed(p->cms, prim, trc)) -- cgit v1.2.3