diff options
author | Moonchild <moonchild@palemoon.org> | 2022-09-14 09:42:09 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-09-14 09:42:09 +0000 |
commit | 302d46a0f999f8ec99bc65a6dab1b0b18d733dd6 (patch) | |
tree | 53bd57c4d2349efaf4acf672f41254ea410e96d3 /media/ffvpx/libavcodec/videodsp.c | |
parent | f9a1ebf886b9c59704334a69e45b04a6ddee35aa (diff) | |
parent | d2683b0ff708b7c06f8247d8401f876c6620e3f1 (diff) | |
download | uxp-302d46a0f999f8ec99bc65a6dab1b0b18d733dd6.tar.gz |
Merge pull request 'Media fixes to play nice with MSVC WPO/GL' (#2006) from twivi/UXP:optimize into master
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2006
Reviewed-by: Moonchild <moonchild@palemoon.org>
Diffstat (limited to 'media/ffvpx/libavcodec/videodsp.c')
-rw-r--r-- | media/ffvpx/libavcodec/videodsp.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/media/ffvpx/libavcodec/videodsp.c b/media/ffvpx/libavcodec/videodsp.c index ce9e9eb143..4f082a4267 100644 --- a/media/ffvpx/libavcodec/videodsp.c +++ b/media/ffvpx/libavcodec/videodsp.c @@ -44,14 +44,15 @@ av_cold void ff_videodsp_init(VideoDSPContext *ctx, int bpc) ctx->emulated_edge_mc = ff_emulated_edge_mc_16; } - if (ARCH_AARCH64) + #if ARCH_AARCH64 == 1 ff_videodsp_init_aarch64(ctx, bpc); - if (ARCH_ARM) + #elif ARCH_ARM == 1 ff_videodsp_init_arm(ctx, bpc); - if (ARCH_PPC) + #elif ARCH_PPC == 1 ff_videodsp_init_ppc(ctx, bpc); - if (ARCH_X86) + #elif ARCH_X86 == 1 ff_videodsp_init_x86(ctx, bpc); - if (ARCH_MIPS) + #elif ARCH_MIPS == 1 ff_videodsp_init_mips(ctx, bpc); + #endif } |