diff --git a/drivers/video/msm/vidc/common/enc/venc_internal.c b/drivers/video/msm/vidc/common/enc/venc_internal.c index 72ff8f042e6c..808ba7999f0a 100644 --- a/drivers/video/msm/vidc/common/enc/venc_internal.c +++ b/drivers/video/msm/vidc/common/enc/venc_internal.c @@ -1870,7 +1870,7 @@ u32 vid_enc_set_recon_buffers(struct video_client_ctx *client_ctx, VIDEO_DOMAIN, VIDEO_MAIN_POOL, SZ_4K, - 0, + control->buffer_size * 2, (unsigned long *)&iova, (unsigned long *)&buffer_size, 0, 0);