format/context: make it Send

This commit is contained in:
meh 2015-06-09 23:47:31 +02:00
parent 32bf1b37ac
commit 72965fc57a

View File

@ -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 {