Skip to content

Fix oapv_bsw_write1() to add necessary typecast#189

Merged
kpchoi merged 1 commit intoAcademySoftwareFoundation:mainfrom
ittiam-systems:fix-write1
Feb 19, 2026
Merged

Fix oapv_bsw_write1() to add necessary typecast#189
kpchoi merged 1 commit intoAcademySoftwareFoundation:mainfrom
ittiam-systems:fix-write1

Conversation

@harishdm
Copy link
Contributor

13d6308 changed the bitstream parse and write functions to use a 64bit variable in the bitstream structure.

In that CL, oapv_bsw_write() was updated to typecast the value being written before shifting but, but oapv_bsw_write1() wasn't updated.

This CL updates oapv_bsw_write1() to add the necessary typecast to u64.

13d6308 changed the bitstream parse and write functions
to use a 64bit variable in the bitstream structure.

In that CL, oapv_bsw_write() was updated to typecast the value being written before
shifting but, but oapv_bsw_write1() wasn't updated.

This CL updates oapv_bsw_write1() to add the necessary typecast to u64.

Signed-off-by: Harish Mahendrakar <harish.mahendrakar@ittiam.com>
Copy link
Collaborator

@kpchoi kpchoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kpchoi kpchoi merged commit 6aaeda6 into AcademySoftwareFoundation:main Feb 19, 2026
7 checks passed
@harishdm harishdm deleted the fix-write1 branch February 19, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants