Browse code

shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)

Originally committed as revision 3287 to svn://svn.ffmpeg.org/ffmpeg/trunk

Loren Merritt authored on 2004/07/05 11:21:38
Showing 1 changed files
... ...
@@ -677,7 +677,7 @@ if(256*256*256*64 % (stats[0]+1)==0){
677 677
     }\
678 678
 }
679 679
 
680
-#define MAX_SAB_SIZE 16
680
+#define MAX_SAB_SIZE ME_MAP_SIZE
681 681
 static int sab_diamond_search(MpegEncContext * s, int *best, int dmin,
682 682
                                        int src_index, int ref_index, int const penalty_factor,
683 683
                                        int size, int h, int flags)