Skip to content

Revert "Log Stream rwops errors and prevent opening Stream if null" - #46

Open
glebm wants to merge 1 commit into
realnc:masterfrom
glebm:fix-incorrect-rwops-check
Open

glebm wants to merge 1 commit into
realnc:masterfrom
glebm:fix-incorrect-rwops-check

Conversation

@glebm

@glebm glebm commented Aug 31, 2025

Copy link
Copy Markdown
Contributor

This reverts commit b2df2df.

Custom decoders do not always use rwops, so this check was incorrect.
For example, we have a PushAulibDecoder that doesn't use rwops: https://github.com/diasurgical/DevilutionX/blob/master/Source/utils/push_aulib_decoder.h

Fixes #44

This reverts commit b2df2df.

Custom decoders do not always use `rwops`, so this check was incorrect.

Fixes realnc#44
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.

SDL_Audiolib incorrectly checks for d->fRWops even for non-RWOps streams

1 participant