Skip to content

Commit

Permalink
fixup! media: rkvdec: Don't require unneeded H264_SLICE_PARAMS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kwiboo authored and sigmaris committed Aug 3, 2020
1 parent 889d49d commit 672fb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/media/rkvdec/rkvdec-h264.c
Original file line number Diff line number Diff line change
Expand Up @@ -1066,7 +1066,7 @@ static void rkvdec_h264_run_preamble(struct rkvdec_ctx *ctx,
V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAMS);
run->decode_params = ctrl ? ctrl->p_cur.p : NULL;
ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl,
V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS);
V4L2_CID_MPEG_VIDEO_H264_SPS);
run->sps = ctrl ? ctrl->p_cur.p : NULL;
ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl,
V4L2_CID_MPEG_VIDEO_H264_PPS);
Expand Down

0 comments on commit 672fb67

Please sign in to comment.