You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
4 years ago
..
CMakeLists.txt Optional static builds of OSG, MyGUI, Bullet 4 years ago
License.txt Merge changes to coverity scan script 7 years ago
audiodecoder.cpp Replace zeroes and nulls by nullptrs 4 years ago
audiodecoder.hpp Rewrite media decoder to use FFMpeg 3.2+ API (task #4686) 6 years ago
audiofactory.hpp replace boost::shared_ptr in extern and components 8 years ago
videodefs.hpp Rename to osg-ffmpeg-videoplayer 10 years ago
videoplayer.cpp Replace zeroes and nulls by nullptrs 4 years ago
videoplayer.hpp purge all instances of <boost/shared_ptr.hpp>, clean up unused headers 8 years ago
videostate.cpp osg-ffmpeg-videoplayer: Fix crash on ARM 4 years ago
videostate.hpp osg-ffmpeg-videoplayer: Fix crash on ARM 4 years ago