Skip to content

media_utils: fix segfault when stopping a recording#15040

Merged
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:font
Jan 12, 2024
Merged

media_utils: fix segfault when stopping a recording#15040
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:font

Conversation

@Megamouse

Copy link
Copy Markdown
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
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