format/context: make it Send
This commit is contained in:
parent
32bf1b37ac
commit
72965fc57a
@ -13,6 +13,8 @@ pub struct Context {
|
|||||||
_input: bool,
|
_input: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
unsafe impl Send for Context { }
|
||||||
|
|
||||||
impl Context {
|
impl Context {
|
||||||
pub unsafe fn input(ptr: *mut AVFormatContext) -> Self {
|
pub unsafe fn input(ptr: *mut AVFormatContext) -> Self {
|
||||||
Context {
|
Context {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user