[FFmpeg-cvslog] avcodec/motion_est: Attempt to fix "short data segment overflowed" on IA64
Michael Niedermayer
git at videolan.org
Fri Apr 29 13:28:09 CEST 2016
ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Fri Jan 15 23:58:51 2016 +0100| [4e4afe29b9893c577e80c9c5fed0f2dd23b6e17e] | 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>
(cherry picked from commit d7c75a5db0cf3674e1a5c3e51ac024ef2ef6f09f)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4e4afe29b9893c577e80c9c5fed0f2dd23b6e17e
---
libavcodec/motion_est.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/motion_est.h b/libavcodec/motion_est.h
index 6c0c674..0f236b4 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 FF_ME_ZERO 0
More information about the ffmpeg-cvslog
mailing list