*: use latest ffmpeg-sys using bindgen
* Update bindings to newest ffmpeg version for new ffmpeg-sys, which is mostly generated by bindgen * Bring back removed feature flags * Fix whitespace formating * Remove prepended enum names to enum variants * Remove unneeded allows
This commit is contained in:
@ -85,7 +85,7 @@ impl Graph {
|
||||
|
||||
pub fn dump(&self) -> String {
|
||||
unsafe {
|
||||
let ptr = avfilter_graph_dump(self.as_ptr(), ptr::null());
|
||||
let ptr = avfilter_graph_dump(self.as_ptr() as *mut _, ptr::null());
|
||||
let cstr = from_utf8_unchecked(CStr::from_ptr((ptr)).to_bytes());
|
||||
let string = cstr.to_owned();
|
||||
|
||||
|
Reference in New Issue
Block a user