diff --git a/src/util/frame/video.rs b/src/util/frame/video.rs index 1184649..2ca9fb9 100644 --- a/src/util/frame/video.rs +++ b/src/util/frame/video.rs @@ -26,7 +26,7 @@ impl Video { self.set_width(width); self.set_height(height); - av_frame_get_buffer(self.as_mut_ptr(), 1); + av_frame_get_buffer(self.as_mut_ptr(), 32); } }