mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
FrameDump: Re-add call to av_register_all
This was removed in 4902146329
.
We still need this for the ffmpeg version we're using on Windows.
This commit is contained in:
parent
d3537e68d1
commit
118d056410
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,9 @@ void InitAVCodec()
|
||||||
static bool first_run = true;
|
static bool first_run = true;
|
||||||
if (first_run)
|
if (first_run)
|
||||||
{
|
{
|
||||||
|
#if LIBAVCODEC_VERSION_MICRO >= 100 && LIBAVCODEC_VERSION_INT < AV_VERSION_INT(58, 9, 100)
|
||||||
|
av_register_all();
|
||||||
|
#endif
|
||||||
// TODO: We never call avformat_network_deinit.
|
// TODO: We never call avformat_network_deinit.
|
||||||
avformat_network_init();
|
avformat_network_init();
|
||||||
first_run = false;
|
first_run = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue