Merge "msm: vidc: Fix kw issues"
This commit is contained in:
commit
b6b2f0da26
1 changed files with 4 additions and 0 deletions
|
@ -318,6 +318,10 @@ err_invalid_input:
|
|||
static inline void populate_buf_info(struct buffer_info *binfo,
|
||||
struct v4l2_buffer *b, u32 i)
|
||||
{
|
||||
if (i >= VIDEO_MAX_PLANES) {
|
||||
dprintk(VIDC_ERR, "%s: Invalid input\n", __func__);
|
||||
return;
|
||||
}
|
||||
binfo->type = b->type;
|
||||
binfo->fd[i] = b->m.planes[i].reserved[0];
|
||||
binfo->buff_off[i] = b->m.planes[i].reserved[1];
|
||||
|
|
Loading…
Add table
Reference in a new issue