From 052507089844f87dbab42c43cff7dca548ff3a8e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sun, 5 Sep 2021 18:40:27 +0200 Subject: [PATCH] remove deprecated avcodec_register_all We already use newer avcodec code anyway. --- rpcs3/Emu/Cell/Modules/cellVdec.cpp | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/rpcs3/Emu/Cell/Modules/cellVdec.cpp b/rpcs3/Emu/Cell/Modules/cellVdec.cpp index 7c3c171b58..e03d05eb4c 100644 --- a/rpcs3/Emu/Cell/Modules/cellVdec.cpp +++ b/rpcs3/Emu/Cell/Modules/cellVdec.cpp @@ -136,21 +136,6 @@ struct vdec_context final , cb_func(func) , cb_arg(arg) { -#ifdef _MSC_VER -#pragma warning(push, 0) -#else -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wdeprecated-declarations" -#endif - // TODO: This function should be removed at some point, since ffmpeg does it automatically now. - // We'll keep it for compatibility for now until more system ffmpeg libs are up to date. - avcodec_register_all(); -#ifdef _MSC_VER -#pragma warning(pop) -#else -#pragma GCC diagnostic pop -#endif - switch (type) { case CELL_VDEC_CODEC_TYPE_MPEG2: