util/frame/video: set alignment to 32 in av_frame_get_buffer()
In all places where the function `av_frame_get_buffer()` was used on a video frame in the ffmpeg sources the value `32` was used as an alignment.
This commit is contained in:
parent
c0049beaba
commit
5332dabffa
@ -26,7 +26,7 @@ impl Video {
|
|||||||
self.set_width(width);
|
self.set_width(width);
|
||||||
self.set_height(height);
|
self.set_height(height);
|
||||||
|
|
||||||
av_frame_get_buffer(self.as_mut_ptr(), 1);
|
av_frame_get_buffer(self.as_mut_ptr(), 32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user