Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a35b4147 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: fix downscale resolution calculation"

parents 71350c04 99aa37e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -345,7 +345,7 @@ static int msm_cvp_init_downscale_resolution(struct msm_vidc_inst *inst)
		ds_height = height;

	/* Step 4) switch width and height if already switched */
	if (height > width) {
	if (cvp->height > cvp->width) {
		temp = ds_height;
		ds_height = ds_width;
		ds_width = temp;