changeset 2113:07a663d46be2 libavcodec

shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author michael
date Mon, 05 Jul 2004 02:21:38 +0000
parents aba68a44e2ee
children 7f88c429ad65
files motion_est_template.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)