[FFmpeg-cvslog] avcodec/x86/hevcdsp_init: fix build on 32bit

Michael Niedermayer git at videolan.org
Tue May 6 18:25:54 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue May  6 17:38:20 2014 +0200| [3b3db02f2e5cb978312e90d6b0e0813b71b5a26e] | committer: Michael Niedermayer

avcodec/x86/hevcdsp_init: fix build on 32bit

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3b3db02f2e5cb978312e90d6b0e0813b71b5a26e
---

 libavcodec/x86/hevcdsp_init.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/x86/hevcdsp_init.c b/libavcodec/x86/hevcdsp_init.c
index 565c4a0..c7e1868 100644
--- a/libavcodec/x86/hevcdsp_init.c
+++ b/libavcodec/x86/hevcdsp_init.c
@@ -28,6 +28,7 @@
 #include "libavcodec/hevcdsp.h"
 #include "libavcodec/x86/hevcdsp.h"
 
+#if ARCH_X86_64
 
 #define mc_rep_func(name, bitd, step, W) \
 void ff_hevc_put_hevc_##name##W##_##bitd##_sse4(int16_t *_dst, ptrdiff_t dststride,                             \
@@ -316,6 +317,8 @@ mc_bi_w_funcs(qpel_h, 10);
 mc_bi_w_funcs(qpel_v, 10);
 mc_bi_w_funcs(qpel_hv, 10);
 
+#endif //ARCH_X86_64
+
 
 #define EPEL_LINKS(pointer, my, mx, fname, bitd)           \
         PEL_LINK(pointer, 1, my , mx , fname##4 ,  bitd ); \



More information about the ffmpeg-cvslog mailing list