shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot...
authorLoren Merritt <lorenm@u.washington.edu>
Mon, 5 Jul 2004 02:21:38 +0000 (02:21 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 Jul 2004 02:21:38 +0000 (02:21 +0000)
Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/motion_est_template.c

index 567f84d..b5ee885 100644 (file)
@@ -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)