You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a Kotlin function which takes the native AVDictionary instance and converts it to a LinkedHashMap. Up until org.bytedeco:ffmpeg-platform:7.1-1.5.11 this code worked fine. Now with 7.1-1.5.11 sometimes it will crash the program with the free(): invalid pointer error. It's about every other run that the crash occurs. I checked with 6.1.1-1.5.10 and couldn't produce the crash. I am unsure if the bug is a result of some change in JavaCPP FFmpeg bindings or FFmpeg itself.
val dict =LinkedHashMap<String, String>(av_dict_count(nativeDict)).apply {
var entry:AVDictionaryEntry?=nullwhile (true) {
entry = av_dict_iterate(nativeDict, entry) ?:break
put(entry.key().string, entry.value().string)
}
}
av_dict_free(nativeDict)
The text was updated successfully, but these errors were encountered:
Hi, I have a Kotlin function which takes the native AVDictionary instance and converts it to a LinkedHashMap. Up until
org.bytedeco:ffmpeg-platform:7.1-1.5.11
this code worked fine. Now with7.1-1.5.11
sometimes it will crash the program with thefree(): invalid pointer
error. It's about every other run that the crash occurs. I checked with6.1.1-1.5.10
and couldn't produce the crash. I am unsure if the bug is a result of some change in JavaCPP FFmpeg bindings or FFmpeg itself.The text was updated successfully, but these errors were encountered: