1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:23:52 +00:00
openmw-tes3mp/extern
Gleb Mazovetskiy b7076549a3 osg-ffmpeg-videoplayer: Fix crash on ARM
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
2021-03-07 03:33:00 +00:00
..
oics Avoid dead code 2021-01-09 13:52:01 +04:00
osg-ffmpeg-videoplayer osg-ffmpeg-videoplayer: Fix crash on ARM 2021-03-07 03:33:00 +00:00
osgQt Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
CMakeLists.txt MyGUI: Bump version to 3.4.1 2021-03-02 13:26:23 +00:00