util/frame: inline drop
This commit is contained in:
parent
2d8485732a
commit
2e054ed1c3
@ -180,6 +180,7 @@ impl Frame {
|
||||
}
|
||||
|
||||
impl Drop for Frame {
|
||||
#[inline]
|
||||
fn drop(&mut self) {
|
||||
unsafe {
|
||||
av_frame_free(&mut self.as_mut_ptr());
|
||||
|
Loading…
x
Reference in New Issue
Block a user