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

Fix parsing of some Dropshot replays #315

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

tfausak
Copy link
Owner

@tfausak tfausak commented Oct 30, 2024

Fixes #314.

@@ -297,7 +297,7 @@ classHasRotation className =
getAttributeIdLimit :: Map.Map U32.U32 U32.U32 -> Maybe Word
getAttributeIdLimit attributeMap = do
((streamId, _), _) <- Map.maxViewWithKey attributeMap
pure (fromIntegral (U32.toWord32 streamId))
pure (fromIntegral (1 + U32.toWord32 streamId))
Copy link
Owner Author

Choose a reason for hiding this comment

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

I would love to know why this is required.

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.

Fails to parse Dropshot replay
1 participant