summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/motion_est.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 9cdd637aaa..2d3c02ae87 100644
--- a/libavcodec/motion_est.h
+++ b/libavcodec/motion_est.h
@@ -29,7 +29,11 @@
struct MpegEncContext;
+#if ARCH_IA64 // Limit static arrays to avoid gcc failing "short data segment overflowed"
+#define MAX_MV 1024
+#else
#define MAX_MV 4096
+#endif
#define MAX_DMV (2*MAX_MV)
#define ME_MAP_SIZE 64