[FFmpeg-cvslog] avcodec/motion_est: Attempt to fix "short data segment overflowed" on IA64

Michael Niedermayer git at videolan.org
Sat Jan 16 01:05:51 CET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Fri Jan 15 23:58:51 2016 +0100| [d7c75a5db0cf3674e1a5c3e51ac024ef2ef6f09f] | committer: Michael Niedermayer

avcodec/motion_est: Attempt to fix "short data segment overflowed" on IA64

This decreases the MV related encoding table sizes
This should have little effect on real world video encoding performance

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

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

 libavcodec/motion_est.h |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 9cdd637..2d3c02a 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
 



More information about the ffmpeg-cvslog mailing list