mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-04 05:43:09 +00:00
osg-ffmpeg-videoplayer handled frame allocation incorrectly. It used a `vector<uint8_t>` as its buffer, meaning the addresses could did not respect alignment. Instead, changes it to use `AVFrame` as buffers, allocated via `av_image_alloc`. We also now only allocate the buffer once, instead of on every frame, which should improve the framerate of videos. Fixes the following crash on startup on ARM: > Invalid address alignment (signal 7) Fixes #5807 |
||
|---|---|---|
| .. | ||
| audiodecoder.cpp | ||
| audiodecoder.hpp | ||
| audiofactory.hpp | ||
| CMakeLists.txt | ||
| License.txt | ||
| videodefs.hpp | ||
| videoplayer.cpp | ||
| videoplayer.hpp | ||
| videostate.cpp | ||
| videostate.hpp | ||