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