From 4994af2fbd81eea61a797a0e77c3a69a641d7582 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Mon, 5 Jul 2004 02:21:38 +0000 Subject: [PATCH] shape-adaptive diamond + prediction crash patch by (Loren Merritt ) Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/motion_est_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c index 567f84d2c6..b5ee885730 100644 --- a/libavcodec/motion_est_template.c +++ b/libavcodec/motion_est_template.c @@ -677,7 +677,7 @@ if(256*256*256*64 % (stats[0]+1)==0){ }\ } -#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)