mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-16 23:17:29 +00:00
Call avcodec_register_all in case of old ffmpeg
Apparently it's still possible to break without it.
This commit is contained in:
parent
12c83b340d
commit
065ee621b8
@ -1219,6 +1219,10 @@ error_code cellVdecSetPts(u32 handle, vm::ptr<void> unk)
|
||||
|
||||
DECLARE(ppu_module_manager::cellVdec)("libvdec", []()
|
||||
{
|
||||
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 10, 100)
|
||||
avcodec_register_all();
|
||||
#endif
|
||||
|
||||
static ppu_static_module libavcdec("libavcdec");
|
||||
static ppu_static_module libdivx311dec("libdivx311dec");
|
||||
static ppu_static_module libdivxdec("libdivxdec");
|
||||
|
Loading…
Reference in New Issue
Block a user