Guest User

Untitled

a guest
Jul 16th, 2026
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. diff --git a/libavcodec/v4l2_request_hevc.c b/libavcodec/v4l2_request_hevc.c
  2. index 26cba2c75f..82c3720548 100644
  3. --- a/libavcodec/v4l2_request_hevc.c
  4. +++ b/libavcodec/v4l2_request_hevc.c
  5. @@ -186,7 +186,7 @@ static int fill_slice_params(V4L2RequestControlsHEVC *controls, int slice,
  6. int i, offsets;
  7.  
  8. *slice_params = (struct v4l2_ctrl_hevc_slice_params) {
  9. - .bit_size = (size - sh->data_offset) * 8,
  10. + .bit_size = size * 8,
  11. .data_byte_offset = controls->pic.output->bytesused + sh->data_offset,
  12. .num_entry_point_offsets = sh->num_entry_point_offsets,
Advertisement
Add Comment
Please, Sign In to add comment