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

Commit 8c92a09d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: avoid fd based search for non-extradata plane"

parents c52f9e7a b437f3b6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -492,9 +492,9 @@ int map_and_register_buf(struct msm_vidc_inst *inst, struct v4l2_buffer *b)
			goto exit;
		}

		same_fd_handle = get_same_fd_buffer(
		same_fd_handle = i ? get_same_fd_buffer(
				&inst->registeredbufs,
				b->m.planes[i].reserved[0]);
				b->m.planes[i].reserved[0]) : NULL;

		populate_buf_info(binfo, b, i);
		if (same_fd_handle) {