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