mirror of
https://github.com/encounter/rust-ffmpeg.git
synced 2026-07-10 21:18:39 -07:00
format/context: make it Send
This commit is contained in:
@@ -13,6 +13,8 @@ pub struct Context {
|
||||
_input: bool,
|
||||
}
|
||||
|
||||
unsafe impl Send for Context { }
|
||||
|
||||
impl Context {
|
||||
pub unsafe fn input(ptr: *mut AVFormatContext) -> Self {
|
||||
Context {
|
||||
|
||||
Reference in New Issue
Block a user