From cd32179627f979337ca4b55f20abfb14c3db370e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 7 Sep 2015 21:02:16 +0200 Subject: vo_opengl: comsetics: remove unnecessary line break --- video/out/gl_video.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'video') diff --git a/video/out/gl_video.c b/video/out/gl_video.c index cdaa8d8c26..bd97b34c7c 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -657,10 +657,8 @@ static void pass_set_image_textures(struct gl_video *p, struct video_image *vimg // Make sure luma/chroma sizes are aligned. // Example: For 4:2:0 with size 3x3, the subsampled chroma plane is 2x2 // so luma (3,3) has to align with chroma (2,2). - chroma->m[0][0] = ls_w * (float)vimg->planes[0].w - / vimg->planes[1].w; - chroma->m[1][1] = ls_h * (float)vimg->planes[0].h - / vimg->planes[1].h; + chroma->m[0][0] = ls_w * (float)vimg->planes[0].w / vimg->planes[1].w; + chroma->m[1][1] = ls_h * (float)vimg->planes[0].h / vimg->planes[1].h; for (int n = 0; n < p->plane_count; n++) { struct texplane *t = &vimg->planes[n]; -- cgit v1.2.3