Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/libavcodec/v4l2_request_hevc.c b/libavcodec/v4l2_request_hevc.c
- index 26cba2c75f..82c3720548 100644
- --- a/libavcodec/v4l2_request_hevc.c
- +++ b/libavcodec/v4l2_request_hevc.c
- @@ -186,7 +186,7 @@ static int fill_slice_params(V4L2RequestControlsHEVC *controls, int slice,
- int i, offsets;
- *slice_params = (struct v4l2_ctrl_hevc_slice_params) {
- - .bit_size = (size - sh->data_offset) * 8,
- + .bit_size = size * 8,
- .data_byte_offset = controls->pic.output->bytesused + sh->data_offset,
- .num_entry_point_offsets = sh->num_entry_point_offsets,
Advertisement
Add Comment
Please, Sign In to add comment