aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/utvideodsp_init.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-06-30 00:40:16 -0300
committerJames Almer <jamrial@gmail.com>2017-07-04 22:49:45 -0300
commit440285474bb894ae4bd5717ae0470fd3601bc977 (patch)
tree8c32267534a6919c0aacbd98ebe089d53a0e44fd /libavcodec/x86/utvideodsp_init.c
parentc07af720984acaafaa273369080b458d73975775 (diff)
downloadffmpeg-440285474bb894ae4bd5717ae0470fd3601bc977.tar.gz
x86/utvideodsp: make restore_rgb_planes functions work on x86_32
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/utvideodsp_init.c')
-rw-r--r--libavcodec/x86/utvideodsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/utvideodsp_init.c b/libavcodec/x86/utvideodsp_init.c
index d4156926bd..f8b2a9b074 100644
--- a/libavcodec/x86/utvideodsp_init.c
+++ b/libavcodec/x86/utvideodsp_init.c
@@ -36,7 +36,7 @@ av_cold void ff_utvideodsp_init_x86(UTVideoDSPContext *c)
{
int cpu_flags = av_get_cpu_flags();
- if (ARCH_X86_64 && EXTERNAL_SSE2(cpu_flags)) {
+ if (EXTERNAL_SSE2(cpu_flags)) {
c->restore_rgb_planes = ff_restore_rgb_planes_sse2;
c->restore_rgb_planes10 = ff_restore_rgb_planes10_sse2;
}