util/frame: make it Sync
This commit is contained in:
parent
572f0f2045
commit
a544f0827c
@ -32,6 +32,7 @@ pub struct Frame {
|
||||
}
|
||||
|
||||
unsafe impl Send for Frame { }
|
||||
unsafe impl Sync for Frame { }
|
||||
|
||||
impl Frame {
|
||||
pub unsafe fn wrap(ptr: *mut AVFrame) -> Self {
|
||||
|
Loading…
x
Reference in New Issue
Block a user