arch/sim_encoder: g_bufsize initialization error in g_sim_encoder_ops structure
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
This commit is contained in:
parent
d6b7d782eb
commit
33b5e1414c
@ -120,8 +120,8 @@ static const struct codec_ops_s g_sim_encoder_ops =
|
||||
.output_s_fmt = sim_encoder_output_s_fmt,
|
||||
.capture_try_fmt = sim_encoder_capture_try_fmt,
|
||||
.output_try_fmt = sim_encoder_output_try_fmt,
|
||||
.capture_g_bufsize = sim_encoder_output_g_bufsize,
|
||||
.output_g_bufsize = sim_encoder_capture_g_bufsize,
|
||||
.capture_g_bufsize = sim_encoder_capture_g_bufsize,
|
||||
.output_g_bufsize = sim_encoder_output_g_bufsize,
|
||||
.capture_s_parm = sim_encoder_capture_s_parm,
|
||||
.g_ext_ctrls = sim_encoder_capture_g_ext_ctrls,
|
||||
.s_ext_ctrls = sim_encoder_capture_s_ext_ctrls,
|
||||
|
@ -188,7 +188,6 @@ static int v4l2_ioctl(FAR struct file *filep,
|
||||
|
||||
return v4l2->vops->qbuf(filep,
|
||||
(FAR struct v4l2_buffer *)arg);
|
||||
break;
|
||||
|
||||
case VIDIOC_DQBUF:
|
||||
if (v4l2->vops->dqbuf == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user