KEMBAR78
VIDEO: Fix crash when closing an MKV stream by ccawley2011 · Pull Request #4818 · scummvm/scummvm · GitHub
Skip to content

Conversation

@ccawley2011
Copy link
Member

No description provided.

void MKVDecoder::close() {
VideoDecoder::close();

delete _fileStream;
Copy link
Member

Choose a reason for hiding this comment

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

To be really clean, reader should be deleted before as it's created after and depends on fileStream

@sev-
Copy link
Member

sev- commented Mar 24, 2023

@ccawley2011 Do you still plan to do the proposed code adjustment?

@lephilousophe
Copy link
Member

This change is completely optional though

@sev-
Copy link
Member

sev- commented Mar 29, 2023

Okay, merging then. Thanks!

@sev- sev- merged commit 9bf6f75 into scummvm:master Mar 29, 2023
@ccawley2011 ccawley2011 deleted the mkv-close branch March 29, 2023 23:39
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.

3 participants