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

media_utils: fix segfault when stopping a recording #15040

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Megamouse
Copy link
Contributor

  • use avio_closep instead of avio_close in order to properly reset the pointer
  • don't use avcodec_close. use avcodec_free_context as mentioned in the avcodec_close description
  • don't use avformat_free_context if we already used avformat_close_input which sets the pointer to null anyway

fixes #15039

@Megamouse Megamouse merged commit f7fa5aa into RPCS3:master Jan 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MLB 10: The Show
1 participant