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@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2016-01-15 23:58:51 +01:00
parent 564dd3f0f4
commit d7c75a5db0
1 changed files with 4 additions and 0 deletions

View File

@ -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