mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Small fix
This commit is contained in:
parent
5d3a612003
commit
d7fd8e3ca6
6 changed files with 26 additions and 14 deletions
|
@ -35,6 +35,9 @@ AudioDecoder::AudioDecoder(AudioCodecType type, u32 addr, u32 size, u32 func, u3
|
|||
, ctx(nullptr)
|
||||
, fmt(nullptr)
|
||||
{
|
||||
av_register_all();
|
||||
avcodec_register_all();
|
||||
|
||||
AVCodec* codec = avcodec_find_decoder(AV_CODEC_ID_ATRAC3P);
|
||||
if (!codec)
|
||||
{
|
||||
|
@ -824,7 +827,4 @@ void cellAdec_init()
|
|||
REG_FUNC(cellAdec, cellAdecDecodeAu);
|
||||
REG_FUNC(cellAdec, cellAdecGetPcm);
|
||||
REG_FUNC(cellAdec, cellAdecGetPcmItem);
|
||||
|
||||
av_register_all();
|
||||
avcodec_register_all();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue