aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/coda/coda-bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/coda/coda-bit.c')
-rw-r--r--drivers/media/platform/coda/coda-bit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda/coda-bit.c b/drivers/media/platform/coda/coda-bit.c
index 38aacc7fc692..b6625047250d 100644
--- a/drivers/media/platform/coda/coda-bit.c
+++ b/drivers/media/platform/coda/coda-bit.c
@@ -1342,7 +1342,7 @@ static void coda_finish_encode(struct coda_ctx *ctx)
1342 1342
1343 /* Calculate bytesused field */ 1343 /* Calculate bytesused field */
1344 if (dst_buf->sequence == 0) { 1344 if (dst_buf->sequence == 0) {
1345 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, 1345 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr +
1346 ctx->vpu_header_size[0] + 1346 ctx->vpu_header_size[0] +
1347 ctx->vpu_header_size[1] + 1347 ctx->vpu_header_size[1] +
1348 ctx->vpu_header_size[2]); 1348 ctx->vpu_header_size[2]);