util/frame: inline drop

This commit is contained in:
meh 2015-11-05 14:37:41 +01:00
parent 2d8485732a
commit 2e054ed1c3

View File

@ -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());