diff --git a/rpcs3/Emu/Cell/Modules/cellAdec.cpp b/rpcs3/Emu/Cell/Modules/cellAdec.cpp index 83ef53666d..e98ce05fea 100644 --- a/rpcs3/Emu/Cell/Modules/cellAdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellAdec.cpp @@ -270,7 +270,11 @@ public: bool just_finished = false; const AVCodec* codec = nullptr; +#if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(59, 0, 0) + const AVInputFormat* input_format = nullptr; +#else AVInputFormat* input_format = nullptr; +#endif AVCodecContext* ctx = nullptr; AVFormatContext* fmt = nullptr; u8* io_buf;