diff mbox series

[FFmpeg-devel] avcodec/wmv2dsp: fix wrong macro for init_mips

Message ID 20200503090023.29418-1-rosenp@gmail.com
State New
Headers show
Series [FFmpeg-devel] avcodec/wmv2dsp: fix wrong macro for init_mips
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Rosen Penev May 3, 2020, 9 a.m. UTC
ff_wmv2dsp_init_mips is a void function that only does anything for
HAVE_MMI, which is 64-bit specific.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 libavcodec/wmv2dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/wmv2dsp.c b/libavcodec/wmv2dsp.c
index 543f01b852..611bc04eeb 100644
--- a/libavcodec/wmv2dsp.c
+++ b/libavcodec/wmv2dsp.c
@@ -263,6 +263,6 @@  av_cold void ff_wmv2dsp_init(WMV2DSPContext *c)
     c->put_mspel_pixels_tab[6] = put_mspel8_mc22_c;
     c->put_mspel_pixels_tab[7] = put_mspel8_mc32_c;
 
-    if (ARCH_MIPS)
+    if (ARCH_MIPS64)
         ff_wmv2dsp_init_mips(c);
 }