Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

formats: fix a bug in SCL, sequence like \0\0\0\1\0 not detected #170

Merged
merged 1 commit into from
Oct 25, 2022

Conversation

fador
Copy link
Member

@fador fador commented Oct 24, 2022

If the input data has a zero after the start code with an offset of 1
Meaning case where basically:
(BIG_ENDIAN)
prev_value32 = 0xXX000000;
cur_value32 = 0x0100XXXX;

The current version of SCL does not find the actual start code because it's assuming no zeros in the current byte.

@jrsnen
Copy link
Member

jrsnen commented Oct 25, 2022

Great! There have been messages here on GitHub indicating something might be wrong in SCL, I'm glad at least one less bug resides there.

@jrsnen jrsnen merged commit 914b211 into ultravideo:master Oct 25, 2022
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.

None yet

2 participants