# HG changeset patch # User michael # Date 1088994098 0 # Node ID 07a663d46be2f26833a167d21837c16b935f9932 # Parent aba68a44e2ee487053a1c616e895dd8bc4132288 shape-adaptive diamond + prediction crash patch by (Loren Merritt ) diff -r aba68a44e2ee -r 07a663d46be2 motion_est_template.c --- a/motion_est_template.c Thu Jul 01 12:33:07 2004 +0000 +++ b/motion_est_template.c Mon Jul 05 02:21:38 2004 +0000 @@ -677,7 +677,7 @@ }\ } -#define MAX_SAB_SIZE 16 +#define MAX_SAB_SIZE ME_MAP_SIZE static int sab_diamond_search(MpegEncContext * s, int *best, int dmin, int src_index, int ref_index, int const penalty_factor, int size, int h, int flags)