Skip to content

Potential double-free issue with Metadata #153

Answered by asticode
Maizer asked this question in Q&A
Discussion options

You must be logged in to vote

Sharing the same dictionary between InputFormatContext and OutputFormatContext seems like a bad idea to me. You should clone the dictionary before providing it to the OutputFormatContext. However this was not an option to you since you didn't have the proper method to do that. The good news is that I've just added the Dictionary.Copy() method in master which allows you to do just that.

Let me know whether that fixes your issue and whether you need a tag 👍

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Maizer
Comment options

Answer selected by Maizer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants