diff --git a/arch/sim/src/sim/sim_encoder.c b/arch/sim/src/sim/sim_encoder.c index b80b641b0b..bf3b417637 100644 --- a/arch/sim/src/sim/sim_encoder.c +++ b/arch/sim/src/sim/sim_encoder.c @@ -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, diff --git a/drivers/video/v4l2_core.c b/drivers/video/v4l2_core.c index 33a590151e..674308daae 100644 --- a/drivers/video/v4l2_core.c +++ b/drivers/video/v4l2_core.c @@ -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)