1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-04 09:45:33 +00:00
openmw-tes3mp/extern/osg-ffmpeg-videoplayer
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
..
audiodecoder.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
audiodecoder.hpp Rewrite media decoder to use FFMpeg 3.2+ API (task #4686) 2018-11-03 22:34:25 +04:00
audiofactory.hpp replace boost::shared_ptr in extern and components 2017-06-09 19:08:53 +02:00
CMakeLists.txt Optional static builds of OSG, MyGUI, Bullet 2021-01-26 19:00:55 +00:00
License.txt Merge changes to coverity scan script 2017-10-15 17:06:58 +02:00
videodefs.hpp Rename to osg-ffmpeg-videoplayer 2015-04-19 20:14:06 +02:00
videoplayer.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
videoplayer.hpp purge all instances of <boost/shared_ptr.hpp>, clean up unused headers 2017-06-09 19:08:53 +02:00
videostate.cpp osg-ffmpeg-videoplayer: Fix crash on ARM 2021-03-07 03:33:00 +00:00
videostate.hpp osg-ffmpeg-videoplayer: Fix crash on ARM 2021-03-07 03:33:00 +00:00