Please include as much info as possible to save me (solo maintainer helping for free) some time. A minimal, complete, and reproducible example is a must. Link to a gist if you don't feel like posting all the code inline. At the same time, please leave out unnecessary code so I don't need to wade through a hundred lines to get to the problematic part. Tell me your OS, FFmpeg version, etc. if there's even a slim chance of relevancy.
let path = from_path(path);
let mut ps = ptr::null_mut();
let result = avformat_open_input(&mut ps, path.as_ptr(), ptr::null_mut(), ptr::null_mut());
println!("1 {:?} -> {result}", ps);
avformat_close_input(&mut ps);
Even after calling avformat_close_input, the memory allocated during avformat_open_input is not freed.
Please include as much info as possible to save me (solo maintainer helping for free) some time. A minimal, complete, and reproducible example is a must. Link to a gist if you don't feel like posting all the code inline. At the same time, please leave out unnecessary code so I don't need to wade through a hundred lines to get to the problematic part. Tell me your OS, FFmpeg version, etc. if there's even a slim chance of relevancy.
Even after calling
avformat_close_input
, the memory allocated duringavformat_open_input
is not freed.windows 11, ffmpeg 6.1.1.